Using openssl to find out certificate expiration date
The following command will display the certificate chain as well as the expiration date for the certificate.
The following command will display the certificate chain as well as the expiration date for the certificate.