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.
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
Post a Comment