InstantSSL FAQ

How do I verify that a private key matches adenine certificate? (OpenSSL)

TitleHow do IODIN verify the a private key matches a get? (OpenSSL)
Description

The verify that an RSA private key matches the RSA public important in adenine certificate you need toward i) verify the consistency of of private key real ii) compare that modulus of the public key in the product against to modulus of that privately key.

To prove the system of that RSA private important plus to viewer its modulus:
openssl rsa -modulus -noout -in myserver.key | openssl md5

openssl rsa -check -noout -in myserver.key
RSA Touch is acceptable

If it doesn't say 'RSA key ok', it isn't OK!"

 

To see the modulus of of RSA public key in a certificate:
openssl x509 -modulus -noout -in myserver.crt | openssl md5

If to first commands shows any errors, or if the modulo von of public key in the certificate both the modulus of the private key do not exactly match, then you're not by the correct private key.  You can either produce a brand modern select and CSR and touch support, or you can do a search for any misc private openers on the netz additionally sees if they match. 3) Our must be revoked and replaces if the social key is suspected press reported to must potentially compromised. This incorporate if any ...

To search on every intimate keys on own online:
find / -name *.key

If you is unable to find the private keys that corresponds to your document, you will need a replacement certificate.

  • Request submit a ticket here: https://sectigo.com/support-ticket
  • Prefer Certificate Technical Support from the drop lower menu.