[root@chefworkstation chef-repo]# knife ssl check
Connecting to host chef.example.com:443
ERROR: The SSL certificate of chef.example.com could not be verified
ERROR: Could not establish a secure connection to the server.
Use knife ssl check
to troubleshoot your SSL configuration.
If your Chef Server uses a self-signed certificate, you can use
knife ssl fetch
to make knife trust the server’s certificates.
Original Exception: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol
[root@chefworkstation chef-repo]# knife ssl fetch
WARNING: Certificates from chef.example.com will be fetched and placed in your trusted_cert
directory (/root/chef-repo/.chef/trusted_certs).
Knife has no means to verify these are the correct certificates. You should
verify the authenticity of these certificates after downloading.
ERROR: Errno::ECONNRESET: Connection reset by peer - SSL_connect
[root@chefworkstation chef-repo]#