[chef] RE: Re: SSL Cert Error


Chronological Thread 
  • From: Simon Hawkins < >
  • To: " " < >
  • Subject: [chef] RE: Re: SSL Cert Error
  • Date: Wed, 25 Mar 2015 12:01:24 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: lists.opscode.com; dkim=none (message not signed) header.d=none;

Hi Jayant,

 

It should be: chef-server-core-12.0.6-1

 

Cheers,

Simon.

From: Jayant Kaushal [mailto:
Sent: 25 March 2015 11:52
To:
Subject: [chef] Re: SSL Cert Error

 

Just making sure.. which chef server version you are running?


Jayant

 

On Wed, Mar 25, 2015 at 2:54 PM, Simon Hawkins < " target="_blank"> > wrote:

Hi All,

 

I get the following error when trying to bootstrap a windows machine:

 

10.44.51.117 C:\Windows\system32>chef-client -c c:/chef/client.rb -j c:/chef/first-boot.json -E _default

10.44.51.117 [2015-03-25T09:14:28+00:00] INFO: *** Chef 12.1.2 ***

10.44.51.117 [2015-03-25T09:14:28+00:00] INFO: Chef-client pid: 2564

10.44.51.117 [2015-03-25T09:15:03+00:00] INFO: Client key c:/chef/client.pem is not present - registering

10.44.51.117 [2015-03-25T09:15:03+00:00] ERROR: SSL Validation failure connecting to host: myserver.local - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

10.44.51.117

10.44.51.117 ================================================================================

10.44.51.117 Chef encountered an error attempting to create the client "node3"

10.44.51.117 ================================================================================

10.44.51.117

10.44.51.117 [2015-03-25T09:15:03+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out

10.44.51.117 [2015-03-25T09:15:03+00:00] FATAL: NoMethodError: undefined method `run_id' for nil:NilClass

 

If on my chef workstation I run:

 

Knife ssl check

Connecting to host myserver.local:443

Successfully verified certificates from `myserver.local'

 

Do I somehow need to send the cert out on the chef-client run somehow so the machine I am bootstrapping can verify the cert?

 

Cheers,

Simon.

 


Disclaimer

This message is intended only for the use of the person(s) ("Intended Recipient") to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible.

Totaljobs Group Limited Registered Office: Bluefin Building, 110 Southwark Street, London, SE1 0TA, UK Registered in England and Wales under company no. 4269861


 




Archive powered by MHonArc 2.6.16.

§