Created
September 14, 2021 13:36
-
-
Save thetminko/3a282c3fad50c7014d886720cebfe592 to your computer and use it in GitHub Desktop.
SSL public key
This file contains 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 -servername $1 -connect $1:443 | openssl x509 -pubkey -noout | openssl rsa -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment