Our accreditations and awards:
30 days guarantee
0 items Total $0

How to check if the certificate matches a Private Key?


The certificate can't be installed


The certificate doesn't match the request


You can check if an SSL certificate matches a Private Key by using the 3 easy commands below.

For your SSL certificate: openssl x509 –noout –modulus –in <file>.crt | openssl md5

For your RSA private key: openssl rsa –noout –modulus –in <file>.key | openssl md5

For your CSR: openssl req -noout -modulus -in <file>.csr | openssl md5

You just need to replace <file> with your file’s name. If all the three match, the SSL certificate matches the Private Key.

If you don’t succeed matching the private key with your certificate, you will need to replace your certificate. Don’t hesitate to contact us in this case.

Was this information Useful?