User Tools

Site Tools


howtos:verify_that_csr_matches_certificate_and_private_key
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


howtos:verify_that_csr_matches_certificate_and_private_key [29/04/2021 21:01] (current) – created domingo
Line 1: Line 1:
 +The CSR, Key & Certificate share the same modulus. 
 +
 +Find the hash of modulus of private key:
 +    openssl rsa -noout -modulus -in /config/httpd/conf/ssl.key/server.key | openssl md5
 +Find the hash of modulus of certificate is being imported but not getting imported:
 +    openssl x509 -noout -modulus -in /var/tmp/certificate.crt | openssl md5
 +Find the hash of modulus of CSR:
 +    openssl req -noout -modulus -in /var/tmp/server.csr | openssl md5
 +
 +All 3 should match for a successful import to happen. If it doesn't reach out to the CA to get it signed again or generate an new CSR and get that signed again.
 +     
  
howtos/verify_that_csr_matches_certificate_and_private_key.txt · Last modified: 29/04/2021 21:01 by domingo