G.4 Displaying certificate contents (certutil cert command)
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----.
Format
certutil cert -in certificate-file -text
Arguments
- -in certificate-file
-
Specify the certificate file to be displayed.
Example
To display the certificate file httpsd.pem, specify as follows:
certutil cert -in httpsd.pem -text