Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mislav/ssl-tools
Ruby tools to help with debugging certificates for SSL connections
https://github.com/mislav/ssl-tools
ruby ssl
Last synced: 1 day ago
JSON representation
Ruby tools to help with debugging certificates for SSL connections
- Host: GitHub
- URL: https://github.com/mislav/ssl-tools
- Owner: mislav
- License: cc0-1.0
- Created: 2013-07-28T12:27:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-05T13:35:22.000Z (about 9 years ago)
- Last Synced: 2024-12-24T00:12:48.299Z (3 days ago)
- Topics: ruby, ssl
- Language: Ruby
- Homepage: https://mislav.net/2013/07/ruby-openssl/
- Size: 133 KB
- Stars: 340
- Watchers: 16
- Forks: 51
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SSL tools
der2pem FILES...
remote-cert status.github.com | show-cert
create-cert example.com "My Organization" > cert_and_key.pem
ruby doctor.rb example.com:443
Sample output of `doctor.rb`:
```
/Users/mislav/.rbenv/versions/2.0.0-p247/bin/ruby (2.0.0-p247)
OpenSSL 1.0.1e 11 Feb 2013: /usr/local/etc/openssl
SSL_CERT_DIR=""
SSL_CERT_FILE=""HEAD https://status.github.com:443
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failedThe server presented a certificate that could not be verified:
subject: /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
issuer: /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
error code 20: unable to get local issuer certificatePossible causes:
- `/usr/local/etc/openssl/cert.pem' does not exist
- `/usr/local/etc/openssl/certs/' is empty
```