View a certificate

View the details of a certificate using the openssl command.

Use this command to verify certificate details such as the expiry date, issuer, and Common Name (CN).

Run the following command:
openssl x509 -in MyCert.crt -noout -text