Created
December 8, 2021 13:17
-
-
Save welshstew/874cc08d890c05effafc0dea5fbb0f6f to your computer and use it in GitHub Desktop.
openssl-get-cert-as-pem
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 s_client -connect www.google.com:443 2>/dev/null </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment