CLI Guide
Synopsis
racadm sslcertdownload -f <filename> -t <type>
Input
• -f — Specifies the target filename on local file system to download the certificate.
• -t <type> — Specifies the type of certificate to download, either the CA certificate for Directory Service or
the server certificate.
• 1=Server Certificate
• 2=Active Directory
• 3=Custom Signing Certificate
• 4=Client Trust Certificate for SSL
• 5=Factory Identity Certificate
Output Returns 0 when successful and non-zero number when unsuccessful.
Example
• Download server certificate:
racadm -r 192.168.0 -u root -p xxx sslcertdownload -t 1 -f cert.txt
• Download Active Directory certificate:
racadm -r 192.168.0 -u root -p xxx sslcertdownload -t 2 -f ad_cert.txt
NOTE: This command is not supported in the firmware RACADM interface as it is not a file system.
sslcertupload
Table 87. Details of sslcertupload
Description
Uploads a custom SSL server or CA certificate for Directory Service from the client to iDRAC.
To run this subcommand, you must have the following privilege:
• Active Directory certificate - Privilege required Configure iDRAC + Configure User
• Public Key Cryptography Standards (PKCS) format - Privilege required Configure iDRAC
• Client Trust certificate for SSL format and Factory Identity Certificate format - Privilege required Configure
iDRAC
Synopsis
racadm sslcertupload -t <type> -f <filename> -p <passphrase>
Input
• -f—Specifies the source filename in the local file system of the certificate uploaded.
• -p—Pass phrase for the Public Key Cryptography Standards file.
• -t—Specifies the type of certificate to upload. The type of certificate must be:
• 1—Server certificate
•
2— CA certificate for Directory Service
• 3—Public Key Cryptography Standards (PKCS) format
• 4—Client Trust certificate for SSL format
• 5—Factory Identity Certificate format
Output racadm -r 192.168.0.2 -u root -p xxx sslcertupload -t 2 -f cert.txt Certificate
that is 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
• Uploading web server certificate and key
racadm -r 192.168.0.2 -u root -p xxx sslcertupload -t 6 -f cert.txt -k
key.txt
112 RACADM Subcommand Details