This subsection explains how to display the contents of a certificate file.
The following command displays the part of the certificate file that begins with -----BEGIN CERTIFICATE----- and ends with -----END CERTIFICATE----.
certutil cert -in certificate-file -text |
certutil cert -in httpsd.pem -text |
httpsd.pem: Certificate file to be displayed