Use these commands to see if a private key matches a server’s certificate:
# openssl rsa -noout -modulus -in server.key # openssl x509 -noout -modulus -in server.crt
If the modulus us the same, you can use them.
Use these commands to see if a private key matches a server’s certificate:
# openssl rsa -noout -modulus -in server.key # openssl x509 -noout -modulus -in server.crt
If the modulus us the same, you can use them.