[chef] knife-ec2 / Excon ssl verification error


Chronological Thread 
  • From: Gabriel Rosendorf < >
  • To:
  • Subject: [chef] knife-ec2 / Excon ssl verification error
  • Date: Fri, 3 Oct 2014 09:33:51 -0400

Has anyone gotten this error running knife-ec2 commands with excon 0.39.6 (latest ChefDK) on OS X 10.9.5? 

ERROR: Excon::Errors::SocketError: Unable to verify certificate, please set `Excon.defaults[:ssl_ca_path] = path_to_certs`, `ENV['SSL_CERT_DIR'] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, `ENV['SSL_CERT_FILE'] = path_to_file` or `Excon.defaults[:ssl_verify_peer] = false` (less secure).

Adding Excon.defaults[:ssl_verify_peer] = false to my knife.rb makes it work, but doesn't give me a warm and fuzzy feeling. Any help would be greatly appreciated!



Archive powered by MHonArc 2.6.16.

§