Skip to content

Instantly share code, notes, and snippets.

@Maniacal
Created June 24, 2015 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maniacal/0b3f83b35ba7384ef230 to your computer and use it in GitHub Desktop.
Save Maniacal/0b3f83b35ba7384ef230 to your computer and use it in GitHub Desktop.
############## This is the successful knife ssl check command:
ubuntu@ip-10-202-90-125:~$ sudo /opt/chef/bin/knife ssl check https://chef.example.com
Connecting to host chef.example.com:443
Successfully verified certificates from `chef.example.com’
############## This is the error:
[2015-06-24T00:06:18+00:00] ERROR: SSL Validation failure connecting to host: chef.example.com - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Running handlers:
[2015-06-24T00:06:18+00:00] ERROR: Running exception handlers
Running handlers complete
[2015-06-24T00:06:18+00:00] ERROR: Exception handlers complete
[2015-06-24T00:06:18+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 18 resources updated in 118.828748189 seconds
[2015-06-24T00:06:18+00:00] ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
[2015-06-24T00:06:18+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment