Synopsis
cmdspcert [-ed Environment-directory ] {-id CertID | -nn NickName | -fn FileName } [-sl Select] [-oc OutCODE] [-of OutFile] |
Description
The cmdspcert command edits the certificate content for each item and outputs it to standard output or a file. Options that can be specified are shown below.
Options
-ed Environment-directory
Specify the full path of the operation management directory (Environment-directory). If this option is omitted, the information set in the "CMIPATH" environment variable takes effect.
-id CertID
Specify the certificate ID (CertID) displayed by the cmlistcert command as a search condition to display certificates that are already registered.
-nn NickName
Specify the nickname (NickName) that was specified at the time of registration as a search condition to display certificates that are already registered.
-fn FileName
Specify the certificate file name (FileName) as a search condition to display unregistered certificates.
DER and BASE64 format files can be specified.
-sl Select
Specify the display format (Select).
0 : Display each item (default)
1 : Display key
-of OutFile
Specify the full path of the file name (OutFile) where the display results are output.
If this is omitted, the results will be output in standard output. Specify a file that is not yet used.
Command Location
Windows | %CommonProgramFiles%\Fujitsu Shared\F3FSSMEE |
Solaris | /opt/FJSVsmee/bin |
Linux | /opt/FJSVsmee/bin |
Linux x64 | /opt/FJSVsmee64/bin |
Cautions
Either -id, -nn, or -fn must be specified.
The certificate expiry date can be checked in the "VALIDITY" line. The expiry date is displayed in global standard time in the "Start date and time (YYYYMMDDHHMMSS)- End date and time (YYYYMMDDHHMMSS)" format.
If a BASE64 format certificate is specified in the certificate file, and if the header and footer shown below are attached, that line is skipped. Note that, if the format is other than as shown below, the command ends with an error. Also, if the specified certificate file contains multiple certificates, only the first data is targeted.
Header: -----Line starting with BEGIN
Footer: -----Line starting with END
Items that do not have identification information set are not displayed.