Verify RSA keys for SSL certificate
Last updated
Last updated
To ensure that your RSA private key matches the public key in your certificate, follow these steps:
Check the RSA Private Key To verify the private key and see its modulus, run:
If the output says "RSA key ok," the key is valid. If not, there’s an issue.
View the RSA Public Key Modulus To check the modulus of the public key in the certificate, run:
Compare Moduli If there are any errors in the previous commands, or if the modulus from the public key does not match the modulus from the private key, you are using the wrong private key. You can either:
Create a new key and Certificate Signing Request (CSR) and contact support.
Search for other private keys on your system to find a match.
Finding Private Keys on Your Server To search for all private keys, run: