-
-
Save mcfiredrill/c5a1e6d5b84bc081324f to your computer and use it in GitHub Desktop.
ssl issues
This file contains 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
tony@moguya ~/src/ssl-tools(master)$ ruby doctor.rb soundcloud.com:443 | |
/Users/tony/.rbenv/versions/2.2.2/bin/ruby (2.2.2-p95) | |
OpenSSL 1.0.2c 12 Jun 2015: /usr/local/etc/openssl | |
SSL_CERT_DIR="" | |
SSL_CERT_FILE="" | |
HEAD https://soundcloud.com:443 | |
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed | |
The server presented a certificate that could not be verified: | |
subject: /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA | |
issuer: /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA | |
error code 10: certificate has expired | |
Possible causes: | |
`/usr/local/etc/openssl/certs/' is empty | |
tony@moguya ~/src/ssl-tools(master)$ ruby doctor.rb api.rubygems.org:443 | |
/Users/tony/.rbenv/versions/2.2.2/bin/ruby (2.2.2-p95) | |
OpenSSL 1.0.2c 12 Jun 2015: /usr/local/etc/openssl | |
SSL_CERT_DIR="" | |
SSL_CERT_FILE="" | |
HEAD https://api.rubygems.org:443 | |
OK | |
tony@moguya ~/src/ssl-tools(master)$ ruby doctor.rb github.com:443 | |
/Users/tony/.rbenv/versions/2.2.2/bin/ruby (2.2.2-p95) | |
OpenSSL 1.0.2c 12 Jun 2015: /usr/local/etc/openssl | |
SSL_CERT_DIR="" | |
SSL_CERT_FILE="" | |
HEAD https://github.com:443 | |
OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment