Last active
October 1, 2024 14:32
-
-
Save tufank/029d3c44985b3aabbcb46a5db469ce21 to your computer and use it in GitHub Desktop.
Check if key, certificate request and public certificate match each other
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
| # these should be the same for a match | |
| openssl rsa -modulus -noout -in file.key | openssl sha256 | |
| openssl req -noout -modulus -in file.csr| openssl sha256 | |
| openssl x509 -noout -modulus -in file.crt | openssl sha256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment