5.2.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----.

Organization of this subsection
(1) Format
(2) Parameter
(3) Usage Example

(1) Format

certutil cert -in certificate-file -text

(2) Parameter

(3) Usage Example

certutil cert -in httpsd.pem -text

httpsd.pem: Certificate file to be displayed