Created
March 28, 2018 17:16
-
-
Save omar-yassin/18507b62cdbed41fb6eb7f598536e3f7 to your computer and use it in GitHub Desktop.
SSL CERT Cheatsheet
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
# Get some info on cert (SAN cert details like DNS, etc..) | |
nmap --script ssl-cert -p 443 some.com | |
# Get ciphers available | |
nmap --script ssl-enum-ciphers -p 443 some.com | |
# Get info on cert file | |
openssl x509 -in some.crt -text -noout | |
# Verify key matches cert by seeing if modulus matches between the two | |
openssl x509 -noout -modulus -in some.crt | openssl md5 | |
openssl rsa -noout -modulus -in some.key | openssl md5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment