Is it possible to determine cert expiration by looking at the files?


#1

If I have a folder that contains all of my certificate related files, is it possible to examine the files to determine the expiration of the file?

Or do I have to make an API call to get this information?


#2

Yes it’s possible, because the certificate contains that information.

If it’s pem encoded:

openssl x509 -enddate -noout -in file.pem

Note: if you want to check the revocation of the certificate, you can do it on https://crt.sh


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.