Chef Error: SSL Validation failure connecting to host

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

Problem
[code language=”css”]
[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 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 Error connecting to https://10.0.0.134/organizations/mysvhcl/nodes – SSL_connect returned=1 errno=0 state=error: certificate verify failed
[/code]

Solution

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

Rajesh Kumar
Total Page Visits: 94 - Today Page Visits: 1