Convert pem to x509/der
openssl x509 -outform der -in certificate.pem -out certificate.der
Debug DER
openssl x509 -in keytool_crt.der -inform der -noout -text
Debug p12
openssl pkcs12 -info -in keyStore.p12
Debug crt
openssl x509 -in certificate.crt -text –noout
Debug JKS (keytool is a java command)
keytool -list -v -keystore keystore.jks
x509 debug
openssl x509 -in keytool_crt.der -inform der -noout -text
openssl x509 -in keytool_crt.pem -inform pem -noout -text
openssl x509 -in publicCert.pem -text -noout