NewObject Storage is live: S3-compatible, 10 GB of storage free every month, pay as you go beyond that.Learn more

Certificate and Private Key Matcher

Check whether an SSL certificate and a private key belong together before you install them — a mismatch is a common cause of servers that refuse to start.

Key Matcher

Verify that a private key matches a certificate. Use this if you get key mismatch errors when installing certificates.

How it works

How the match is checked

Same public key

A certificate contains a public key. It matches a private key when the public key derived from that private key is identical.

Typical mix-ups

Renewing with a new CSR creates a new key; installing the new certificate with the old key fails.

FAQ

Frequently asked questions

Is my private key sent to the server?

Yes, for this check, and it is not stored. You can also compare locally: openssl x509 -noout -modulus and openssl rsa -noout -modulus must print the same value.

What do I do if they don't match?

Find the key that was created with the CSR for this certificate, or create a new CSR and reissue the certificate.