Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I know which certs match which key?

certs key
0
Posted

How do I know which certs match which key?

0

The private key contains a series of numbers. Two of those numbers form the “public key”, the others are part of your “private key”. The “public key” bits are also embedded in your certificate (we get them from your CSR). To check that the public key in your cert matches the public portion of your private key, you need to view the cert and the key and compare the numbers. To view the cert: [root@ntbox conf]# openssl x509 -noout -text -in ssl.crt/server.crt Certificate: Data: Version: 1 (0x0) Serial Number: 0 (0x0) Signature Algorithm: md5WithRSAEncryption Issuer: C=US, ST=NC, L=Cary, O=My New Outfit, Inc., OU=Sales, CN=ntbox.somewhere.com/Email=me@somewhere.com Validity Not Before: Oct 7 04:19:24 1999 GMT Not After : Oct 6 04:19:24 2000 GMT Subject: C=US, ST=NC, L=Cary, O=My New Outfit, Inc., OU=Sales, CN=ntbox.somewhere.com/Email=me@somewhere.com Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (1024 bit) Modulus (1024 bit): 00:c9:dd:68:31:ca:1c:ab:74:7c:21

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123