CLI Guide

Table 99. Details of sslcertdownload (continued)
Download Active Directory certificate
racadm -r 1.2.3.4 -u root -p calvin
sslcertdownload -t 2 -f ad_cert.txt
sslcertupload
Table 100. Details of sslcertupload
Description Uploads a custom SSL server or CA certificate for Directory Service from the client to CMC.
To use this subcommand, you must have the Server Administrator permission.
Synopsis
racadm sslcertupload -t <type> [-f <filename>]
Input -t — Specifies the type of certificate to upload, either the CA certificate for Directory Service or
the server certificate.
— 1 = server certificate.
— 2 = CA certificate for Directory Service
-f — Specifies the file name of the certificate to be uploaded.
-e — Allows for upload of multiple certificate format types.
– 1 = Base64
– 2 = PKCS12
The current release does not support this option.
-p — Pin for decrypting the PKCS12 file uploaded.
If <format type> is selected as 2, it is mandatory to specify -p option.
The current release does not support this option.
Output
The sslcertupload command returns 0 when successful, and returns a nonzero number when
unsuccessful.
Example
racadm sslcertupload -t 1 -f c:\cert\cert.txt
sslcertview
Table 101. Details of sslcertview
Description Displays the SSL server or CA certificate that exists on CMC..
To use this subcommand, you must have the CMC Login User privilege.
Synopsis
racadm sslcertview -t <type> [-A]
Input -t — Specifies the type of certificate to view, either the CA certificate or server certificate.
—1 = server certificate
—2 = CA certificate for Directory Service.
-A — Prevents printing of headers or labels.
94 RACADM Subcommand Details