Check Certificates Info

  • Check a Certificate Signing Request (CSR)
1openssl req -text -noout -verify -in CSR.csr
  • Check a private key
1openssl rsa -in privateKey.key -check
  • Check a certificate
1openssl x509 -in certificate.crt -text -noout
  • Check a PKCS#12 file (.pfx or .p12)
1openssl pkcs12 -info -in keyStore.p12

See https://www.sslshopper.com/csr-decoder.html or https://www.sslshopper.com/certificate-decoder.html