Last active
January 24, 2017 11:39
-
-
Save elnygren/de154638a776858ca60166300caa060e to your computer and use it in GitHub Desktop.
Open SSL tips
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
# verify SSL of a running system on Heroku, AWS etc. before pointing DNS there | |
openssl s_client -connect domain.com.somedns.com:443 -servername www.example.com | |
# verify a chain before uploading | |
certs openssl verify chain.cer | |
> chain.cer: /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert Global Root CA | |
> error 18 at 0 depth lookup:self signed certificate # this is expected | |
> OK # we're ok! | |
# creating a cert chain | |
cat TrustedRoot.cer DigiCertCA2.cer yourdomain.cer > chain.cer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment