How to view Certificate in pem format

Certificates in pem format can be viewed with following openssl
openssl should be available on redhat linux platform.

openssl x509  -in  name_of_file.pem  -inform   pem  -noout  -text
The output should provide version, serial number, Issuer, Validity period
Validity period is  from_date  to  To_date
After To_date cert is not valid. 

Also you can use the keytool command if you have java installed
keytool  -printcert  -file  name_of_file.pem
The output should provide the cert info including the cert validity period

Comments

Popular posts from this blog

Difference between JDK installers - Compressed Archive, Installer and MSI Installer

VMware fix for Invalid manifest and ova file import failed errors

Session Timeout in Oracle Access Manager