Created
January 24, 2019 03:45
-
-
Save kvhnuke/5b0894a8dcde26f62fb963bed1ba7e3f to your computer and use it in GitHub Desktop.
OpenSSL ssl cert commands
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
# get sha-256 fingerprint of ssl cert | |
openssl s_client -showcerts -connect myetherwallet.com:443 </dev/null 2>/dev/null | openssl x509 -noout -fingerprint -sha256 -inform pem | |
# export ssl cert of a website to pem | |
openssl s_client -showcerts -connect beta.myetherwallet.com:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > mycertfile.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment