How to get the the SSL cert expiration date from PEM file
openssl x509 -enddate -noout -in << pem file name >>