Error: SSL Validation failure connecting to host

rajeshkumar created the topic: ERROR: SSL Validation failure connecting to host

Problem

[root@sv-chef-server mychefrepo]# sudo knife node list
ERROR: SSL Validation failure connecting to host: 10.0.0.134 - SSL_connect returned=1 errno=0 state=error: certificate verify failed
ERROR: Could not establish a secure connection to the server.
Use <code>knife ssl check</code> to troubleshoot your SSL configuration.
If your Chef Server uses a self-signed certificate, you can use
<code>knife ssl fetch</code> to make knife trust the server's certificates.

Original Exception: OpenSSL::SSL::SSLError: SSL Error connecting to https://10.0.0.134/organizations/mysvhcl/nodes - SSL_connect returned=1 errno=0 state=error: certificate verify failed

Solution

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn