Created
July 10, 2025 17:51
-
-
Save karlkfi/0659005c74f6507a098ac69c4076d640 to your computer and use it in GitHub Desktop.
Read server TLS/SSL certificate as text
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
openssl x509 -in <(openssl s_client -connect $HOST:$PORT -prexit 2>/dev/null) -text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment