Last active
December 23, 2019 02:30
-
-
Save wuhanstudio/746a5fdef97820e36591f3dbdf47fba8 to your computer and use it in GitHub Desktop.
Check SSL validity
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
# Outputs from three commands below shall be identical | |
# CSR | |
openssl req -in www.wuhanstudio.team.csr -pubkey -noout -outform pem | sha256sum | |
# Private Key | |
openssl pkey -in www.wuhanstudio.team.key -pubout -outform pem | sha256sum | |
# Cert | |
openssl x509 -in www.wuhanstudio.team.cert -pubkey -noout -outform pem | sha256sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment