Collect SSL/TLS certificates from websites
Collects SSL/TLS certificates from websites and displays details like issuer, validity, and full chain.
/plugin marketplace add mindmorass/reflex/plugin install reflex@mindmorass-reflex<hostname> [-v|--verbose] [-c|--chain]Collect SSL/TLS certificates from a website using openssl.
Extract the hostname from the user's input (remove https:// if present).
echo | openssl s_client -connect <hostname>:443 -servername <hostname> 2>/dev/null | openssl x509 -noout -subject -issuer -dates
-v or --verbose, show full details:echo | openssl s_client -connect <hostname>:443 -servername <hostname> 2>/dev/null | openssl x509 -noout -text
-c or --chain, show full certificate chain:echo | openssl s_client -connect <hostname>:443 -servername <hostname> -showcerts 2>/dev/null
echo | openssl s_client -connect <hostname>:443 -servername <hostname> 2>/dev/null | openssl x509 -outform PEM > ~/Desktop/<hostname>.pem
/reflex:certcollect github.com - Basic cert info/reflex:certcollect github.com -v - Full certificate details/reflex:certcollect github.com -c - Show full chain