ERROR: Excon::Errors::CertificateError: SSL_connect and knife
I was playing around with knife-rackspace and when I
attempted to run a simple knife rackspace server list
I got this error:
Needless to say this was frustrating. I spent a while attempting to research why this was happening, and eventually I figured out how to at least do a work around. I do need to disclaim this, this is just a workaround, this isn’t a fix.
I read the error, and noticed: Excon.defaults[:ssl_verify_peer] = false
. I tried
every why possible to put this on the command line, but eventually I put it in my
knife.rb
. As I said this isn’t a fix per se, but a work around so Excon
stops complaining about the SSL certificate.