[chef] Error connecting to SSL URL


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Error connecting to SSL URL
  • Date: Mon, 24 Aug 2009 10:38:48 -0700 (PDT)

Hi,

I'm able to install chef server 7.8 on centos5.3 per wiki guide.  I'm also 
able
to run chef client on a node and then 'validate' registration from the server
web UI.  However, subsequent chef-client runs fail.  Looks like openid 
issues. 
Am hoping someone can point me in the right direction.  

BTW, previous 7.6 install worked perfectly (server & nodes).

Here is the output from client:

/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 400 "Bad Request"
(Net::HTTPServerException)
        from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/rest.rb:233:in
`run_request'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/rest.rb:95:in
`post_rest'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/client.rb:232:in
`authenticate'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/client.rb:74:in
`run'
        from
/usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/application/client.rb:186:in
`run_application'
        from
/usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/application/client.rb:178:in
`loop'
        from
/usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/application/client.rb:178:in
`run_application'
        from
/usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/application.rb:57:in `run'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/bin/chef-client:26
        from /usr/bin/chef-client:19:in `load'
        from /usr/bin/chef-client:19


And here is the chef server.log:

 ~ Started request handling: Mon Aug 24 03:26:23 -0700 2009
 ~ Params: {"submit"=>"Verify", "action"=>"start",
"controller"=>"chef_server_slice/openid_consumer",
"openid_identifier"=>"https://chef001.blah.com:444/openid/server/node/node001_blah_com"}
 ~ WARNING: making https request to
https://chef001.blah.com:444/openid/server/node/node001_blah_com without
verifying server certificate; no CA path was specified.
 ~ Discovery failed for
https://chef001.blah.com:444/openid/server/node/node001_blah_com: Failed to
fetch identity URL
https://chef001.blah.com:444/openid/server/node/node001_blah_com : Error
connecting to SSL URL
https://chef001.blah.com:444/openid/server/node/node001_blah_com: hostname ;
does
not match - (Merb::ControllerExceptions::BadRequest)



Archive powered by MHonArc 2.6.16.

§