HP Systems Insight Manager 5.3 Command Line Interface reference guide

-t [ -f filespec ]
Import a trusted certificate from the specified file
-i -
Import a signed server certificate from the standard input.
-t -
Import a trusted certificate from the standard input.
-r alias|CN
Remove the certificate with the specified alias or certificate name.
-ln [alias|CN]
List the certificate with the specified alias or certificate name in the short format.
-ld [alias|CN]
List the certificate with the specified alias or certificate name in detailed format.
-l alias|CN
List the Base 64 encoded contents of the certificate with the specified alias or certificate
name.
-c
Create a Certificate Signing Request (CSR).
-b [1|3]
Set the trusted certificates flag (1= Always Accept, 3=Required).
-s
Synchronize the server certificate in the SSL shared directory.
-w
Create a new WBEM server certificate.
[CN=x] [OU=x] [O=x] [L=x] [ST=x] [C=x]
Create a new WBEM server certificate with the provided details, where CN=common_name,
OU=organizational_unit, O=organization_name, L=locality_name, ST=state, and
C=country-code.
Return values
MeaningValue
Successful completion.0
Command line syntax error.2
An error occurred during operation.>0
Examples
Example 1
To create a new server certificate with the specified X.509 distinguished name, enter mxcert -n CN=Bob
O=BobCo L=Anytown C=US .
Example 2
To import a trusted certificate called sample.cert into the keystore, enter mxcert -t -f sample.cert.
24 Command descriptions