CLI Guide
To run this subcommand, you must have the Server Control privilege.
Synopsis
Input
• -t <type>—Specifies the type of certificate to upload. The type of certificate must be:
• 1—Server Certificate
• 2—Active Directory
• 3—Public Key Cryptography Standards (PKCS) format
•
4—Client Trust certificate for SSL
• -f—Specifies the source filename in the local file system of the certificate uploaded.
• -p—Pass phrase for decrypting the PKCS12 file uploaded.
• -k—Filename of the private key file while using type 6 The private key is generated when the CSR is
generated. If the CSR is generated on another server, then it is necessary to upload the private key with the
certificate.
• -k—Specifies optional source filename for private key when using type 6.
Output
racadm -r 192.168.0.2 -u root -p xxx sslcertupload -t 2 -f cert.txt
Certificate successfully uploaded to the RAC.
Example
• Uploading a server certificate.
racadm -r 192.168.0.2 -u root -p xxx sslcertupload -t 1 -f cert.txt
• Upload web server certificate and key
racadm -r 192.168.0.2 -u root -p xxx sslcertupload -t 6 -f cert.txt -k
key.txt
• Uploading Active Directory Certificate
racadm -r 192.168.0.2 -u root -p xxx sslcertupload -t 2 -f ad_cert.txt
sslcertview
Table 118. Details of sslcertview attribute
Description Displays the SSL server or CA certificate that exists on CMC.
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=Active Directory
• -A — Prevents printing headers or labels.
NOTE: If a certificate is generated using comma ‘,’ as one of the parameters for the Organization
Name, Common Name, Location Name, or State Name, then this command displays the partial name
in the respective fields only up to the comma. The rest of the string is not displayed.
NOTE: For self-signed certificate, the common name includes PQDN (Partially qualified domain
name) or FQDN (Fully qualified domain name).
Table 119. Output
Serial Number 01
86 RACADM Subcommand Details