HP 3PAR OS 3.1.3 Command Line Interface Reference

showcert
DESCRIPTION
The showcert command shows SSL certificate information for the storage system. The first form
of this command is used to display the certificate in readable format and the second displays the
certificate in PEM (Privacy Enhanced Mail) format and also saves the certificate in the specified
file in PEM format when file option is used.
AUTHORITY
Any role in the system
SYNTAX
showcert [-issuer] [-subject] [-fingerprint] [-startdate] [-enddate]
showcert -pem [-file <file>]
OPTIONS
Options that are used to display information about the certificate (first form) include the following:
-issuer
Displays information about the issuer of the certificate.
-subject
Displays information about the subject of the certificate.
-fingerprint
Displays SHA1 fingerprint of the certificate.
-startdate
Displays the start date of the certificate.
-enddate
Displays the expiration date of the certificate.
Options that are used to display the certificate in PEM format (second form) include the following:
-pem
Displays the certificate in PEM format. When -file option is used with this option, the certificate
is saved in the specified file. When this option is not used, the command uses readable format.
-file <file>
Specifies the file in which the certificate is saved in PEM format.
EXAMPLES
The following example shows how to display information about the certificate in readable format.
cli% showcert
The following example shows how to display information about the subject of the certificate.
cli% showcert -subject
NOTES
Use the createcert command to create the certificate. See createcert” (page 99).
354 Show Commands