Created
May 31, 2020 15:49
-
-
Save qzaidi/d6523ef714e779116d100ef1adb86314 to your computer and use it in GitHub Desktop.
SSL Certs verification
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
## 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