Private key and certificate matcher

An online tool for checking that a private key really belongs to a certificate. It derives the public key from the private key and compares it with the one inside the certificate, so the answer is definitive rather than a hint. Handles RSA and elliptic-curve keys, encrypted keys in either the PKCS#8 or the legacy OpenSSL form, and .pfx / .p12 bundles.

How to use it

1
Add the key

Paste it, drop the file onto the left box, or pick it with the button. A .pfx works too — the key inside it is used.

2
Add the certificate

On the right. A CSR or a bare public key is accepted as well.

3
Enter a password if asked

The password field appears only when the key you provided turns out to be encrypted.

4
Read the answer

The comparison runs as soon as both boxes are filled. Both public keys are shown so you can check them by eye or against your own tooling.

Find out in one step whether a key and a certificate belong together

Paste, drop a file here, or
Paste, drop a file here, or
Published Updated Author: