Created
November 25, 2015 21:57
-
-
Save steveh/6546206e00952456ae04 to your computer and use it in GitHub Desktop.
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
ubuntu@api01-a:~$ SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt ruby doctor.rb www.google.com:443 | |
/usr/local/bin/ruby (2.2.3-p173) | |
OpenSSL 1.0.1f 6 Jan 2014: /usr/lib/ssl | |
SSL_CERT_DIR="" | |
SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt" | |
HEAD https://www.google.com:443 | |
OK | |
ubuntu@api01-a:~$ SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt ruby doctor.rb wwwmarureg.electricityregistry.co.nz:443 | |
/usr/local/bin/ruby (2.2.3-p173) | |
OpenSSL 1.0.1f 6 Jan 2014: /usr/lib/ssl | |
SSL_CERT_DIR="" | |
SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt" | |
HEAD https://wwwmarureg.electricityregistry.co.nz:443 | |
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | |
The server presented a certificate that could not be verified: | |
subject: /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Organization Validation Secure Server CA | |
issuer: /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority | |
error code 20: unable to get local issuer certificate | |
ubuntu@api01-a:~$ SSL_CERT_FILE=/home/ubuntu/ca-bundle.crt ruby doctor.rb www.google.com:443 | |
/usr/local/bin/ruby (2.2.3-p173) | |
OpenSSL 1.0.1f 6 Jan 2014: /usr/lib/ssl | |
SSL_CERT_DIR="" | |
SSL_CERT_FILE="/home/ubuntu/ca-bundle.crt" | |
HEAD https://www.google.com:443 | |
OK | |
ubuntu@api01-a:~$ SSL_CERT_FILE=/home/ubuntu/ca-bundle.crt ruby doctor.rb wwwmarureg.electricityregistry.co.nz:443 | |
/usr/local/bin/ruby (2.2.3-p173) | |
OpenSSL 1.0.1f 6 Jan 2014: /usr/lib/ssl | |
SSL_CERT_DIR="" | |
SSL_CERT_FILE="/home/ubuntu/ca-bundle.crt" | |
HEAD https://wwwmarureg.electricityregistry.co.nz:443 | |
OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment