Created
January 6, 2017 17:43
-
-
Save yakjuly/1d56285246bc1256439a29cc3f2d3cfa 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
Vulnerabilities | |
https://www.openssl.org/news/vulnerabilities.html | |
https | |
openssl s_client -connect www.feistyduck.com:443 -CAfile /etc/ssl/certs | |
ftps | |
openssl s_client -connect ftp.xxx.com:21 -starttls ftp | |
in ruby | |
require "openssl" | |
puts OpenSSL::OPENSSL_VERSION | |
puts "SSL_CERT_FILE: %s" % OpenSSL::X509::DEFAULT_CERT_FILE | |
puts "SSL_CERT_DIR: %s" % OpenSSL::X509::DEFAULT_CERT_DIR | |
Mac OS X rvm | |
-------------------- | |
Show the status for all installed rubies: | |
rvm osx-ssl-certs status all | |
Update OpenSSL certificates for current ruby: | |
rvm osx-ssl-certs update | |
Update OpenSSL certificates for specific path: | |
`rvm osx-ssl-certs update /etc/openssl` | |
Schedule daily update of certificates: | |
`rvm osx-ssl-certs cron install` | |
--------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment