Check that a private key matches a certificate

Drop a certificate and one or more private keys or CSRs. PKIScope pairs them by their public key and shows which key belongs to which certificate, across PEM, DER, PKCS#1, PKCS#8, SEC1, encrypted keys and PFX files. The private key is read only in your browser.

What you can do

Frequently asked questions

How do I check with OpenSSL whether a key matches a certificate?

Compare the public keys: openssl x509 -in cert.pem -noout -pubkey and openssl pkey -in key.pem -pubout should print the same key. PKIScope does this for every key and certificate you load at once.

What does “key values mismatch” mean?

The private key doesn't belong to the certificate, usually because the certificate was issued for a CSR made with another key. Find the key that matches here, or create a new CSR and re-issue the certificate.

Can it match an encrypted private key?

Yes. Enter the key's password when prompted; it is used only in your browser.

Is it safe to load a production private key?

The key is parsed in this tab and never sent anywhere. If your policy forbids private keys leaving a server, compare public-key hashes there with OpenSSL instead.

Related tools