Category Archives: ssl

openssl

http://www.vanemery.com/Linux/Apache/openSSL.html http://www.madboa.com/geek/openssl/ openssl s_client -connect http://www.google.com:443 -showcerts : show SSL certficate echo -n | openssl s_client -connect http://www.google.com:443 -showcerts | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ | openssl x509 -noout -subject -dates  : display dates for the certificate Advertisements

Posted in ssl | Tagged | Leave a comment

Remove a passphrase from a private key

Remove a passphrase from a private key openssl rsa -in privateKey.pem -out newPrivateKey.pem This is useful for automation such as auto connect a VPN upon logon.

Posted in ssl | Tagged | Leave a comment

Set up Apache2 for SSL

For site “foo”/etc/apache2/sites-enabled/default-ssl     SSLEngine on     SSLCertificateFile    /etc/ssl/foo/foo.crt     SSLCertificateKeyFile /etc/ssl/foo/foo.key    SSLCertificateChainFile /etc/ssl/foo/intermediate.pem get the intermediate certificate: https://search.thawte.com/support/ssl-digital-certificates/index?page=content&id=SO1498

Posted in ssl | Tagged , | Leave a comment