Skip to content

Instantly share code, notes, and snippets.

@qzaidi
Created May 31, 2020 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qzaidi/d6523ef714e779116d100ef1adb86314 to your computer and use it in GitHub Desktop.
Save qzaidi/d6523ef714e779116d100ef1adb86314 to your computer and use it in GitHub Desktop.
SSL Certs verification
## To fetch a cert chain and make server.crt ##
openssl s_client -showcerts -verify 5 -servername aaacertificateservices.test.certificatetest.com -connect aaacertificateservices.test.certificatetest.com:443
## To view validity
echo | openssl s_client -servername api.snapp.site -connect api.snapp.site:443 2>/dev/null | openssl x509 -noout -dates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment