Created
January 27, 2014 01:30
-
-
Save breath103/8641954 to your computer and use it in GitHub Desktop.
When getting SSL error from excon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p: | |
Error: 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). (Excon::Errors::SocketError) | |
s: | |
export SSL_CERT_FILE=/usr/local/etc/openssl/cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment