ERROR: SSL Validation failure while bootstrapping a node in chef

asked 2015-07-30 06:56:53 -0500

jason764 gravatar image

updated 2015-07-30 06:58:21 -0500

I have a working setup of Chef Server and workstation and I'm trying to bootstrap a node using the knife bootstrap command.The chef-client seems to be installed on the desired node but is not able to start . The CLI command used and output are as follows::::

knife bootstrap 10.132.xxx.xxx -x root -P password --node-name NodeNew

10.xxx.xxx.xxx Starting first Chef Client run...

10.xxx.xxx.xxx Starting Chef Client, version 12.4.1

10.xxx.xxx.xxx Creating a new client identity for NodeNew1.0 using the validator key.

10.xxx.xxx.xxx [2015-07-30T17:05:14+05:30] ERROR: SSL Validation failure connecting to host: http://abc.abc.com - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

10.xxx.xxx.xxx

10.xxx.xxx.xxx ================================================================================

10.xxx.xxx.xxx Chef encountered an error attempting to create the client "NodeNew1.0"

10.xxx.xxx.xxx ================================================================================

10.xxx.xxx.xxx 10.xxx.xxx.xxx 10.xxx.xxx.xxx Running handlers:

10.xxx.xxx.xxx [2015-07-30T17:05:14+05:30] ERROR: Running exception handlers

10.xxx.xxx.xxx Running handlers complete

10.xxx.xxx.xxx [2015-07-30T17:05:14+05:30] ERROR: Exception handlers complete

10.xxx.xxx.xxx Chef Client failed. 0 resources updated in 15.779988897 seconds

10.xxx.xxx.xxx [2015-07-30T17:05:15+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out

10.xxx.xxx.xxx [2015-07-30T17:05:15+05:30] ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

10.xxx.xxx.xxx [2015-07-30T17:05:15+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

edit retag flag offensive close merge delete