certlook.tr · SSL / TLS
Certificate and CSR matcher
Compare a certificate and a CSR (or two certificates) by public key to see whether they belong to the same key pair. Never paste your private key anywhere.
Check the private key on your own server
Compare the output with the SPKI SHA-256 (hex) value shown in the result. If they are equal, the key belongs to this certificate.
openssl pkey -in private.key -pubout -outform der | openssl sha256Frequently asked questions
Why does "certificate and private key do not match" happen?
The certificate was created from a different CSR, and so a different private key. It usually happens when a CSR was generated more than once or the certificate was installed on the wrong server. Compare the certificate with your CSR here; if they differ, find the right key or reissue the certificate with a new CSR.
Why don't you ask for the private key?
A private key should never leave your server. The certificate, CSR and private key all carry the same public key, so comparing the certificate with the CSR is enough. To check a private key, run the command below on your own server and compare its digest with the SPKI digest shown here.
Can I compare two certificates?
Yes. Paste both to see whether a renewed certificate uses the same key as the old one.
SSL certificates
Get your certificate from ixirhost
Sectigo, DigiCert, GeoTrust, RapidSSL and Certum certificates, with installation support and renewal tracking.