Certificate Key Matcher
Verify that your SSL certificate matches its private key or CSR by comparing modulus hashes — an essential step before installing SSL on your server.
About Certificate Key Matcher
The Certificate Key Matcher is a free online security tool that verifies whether an SSL certificate and a private key are a matching pair. Before deploying SSL on your server, it is critical to confirm that your certificate and private key correspond to each other — a mismatch will prevent HTTPS from working and cause server errors.
This tool compares the modulus of the certificate and the private key. If they match, you have the correct key for that certificate. If they do not match, you have either the wrong private key or a wrong certificate file.
How to Check Certificate and Key Match
- Paste your PEM certificate (-----BEGIN CERTIFICATE-----) in the first field
- Paste your PEM private key (-----BEGIN PRIVATE KEY----- or RSA PRIVATE KEY) in the second field
- Click Check Match
- The tool confirms "Match" or "No Match" with the modulus values for comparison
When to Use This Tool
- After generating a new CSR and receiving your SSL certificate
- After renewing a certificate to verify the keys still match
- When migrating SSL between servers to verify file integrity
- Troubleshooting "SSL handshake failed" errors
Your private key data is processed only in your browser session and is never stored or transmitted. Free, secure, no login required.
Frequently Asked Questions
openssl rsa -noout -modulus -in key.pem | md5sum and compare with openssl x509 -noout -modulus -in cert.pem | md5sum.