This command provides a command-line interface to manage X.509 certificates in a trust store or a Certificate Revocation List (CRL).
You must run the ssltrustmgr command from a QSHELL command-line, which requires that the QSHELL product is installed on the system. You can run this command from /QIBM/UserData/OS400/CIM.
The CIMOM must be running to use this command.
The ssltrustmgr command provides a command-line interface to manage X.509 certificates in a trust store or a Certificate Revocation List (CRL). The command exits with an error status if the trust store or the CRL store do not exist or they are not in directory format.
The add option of the ssltrustmgr command adds an X.509 certificate from one of the following:
The truststore names supported are cim_trust and export_trust. If no truststore is specified, then cim_trust is used as the default truststore. If truststore is specified, then certuser must be specified. The certuser specifies the username to be associated with the certificate in the certfile. If the CRL specified in crlfile already exists in the CRL store, the existing CRL is overwritten.
The remove option of the ssltrustmgr command removes the X.509 certificate matching the specified issuername and serialnumber from the specified truststore or trustpath. The remove option also removes the CRL from the CRL store for a specified issuername.
The list option of the ssltrustmgr command lists the X.509 certificates in the specified truststore or trustpath. The listing can be filtered by specifying the issuername and serialnumber. The list option also lists the CRLs for the specified issuername.
iSeries-specific usage: On an iSeries™ server, this command requires the user to have *SECADM and *ALLOBJ authority.