Validate SSL certificate using OpenSSL command

Check a Certificate Signing Request (CSR)

$openssl req -text -noout -verify -in CSR.csr

Check a private key

$openssl rsa -in privateKey.key -check

Check a certificate

$openssl x509 -in certificate.crt -text -noout

Check a PKCS#12 file (.pfx or .p12)

$openssl pkcs12 -info -in keyStore.p12

  •  
  •  
  •  
  •  

Viet Luu has written 206 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.

Leave a Reply