Created
June 16, 2025 18:34
-
-
Save ashishjullia/a9d14a9c7c7e301ae86b6f1cc168bddc to your computer and use it in GitHub Desktop.
Check whether .crt and .key belong to 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
# The output of both should match | |
openssl x509 -noout -modulus -in <>.crt | openssl md5 | |
openssl rsa -noout -modulus -in <>.key | openssl md5 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment