CLI Guide

Table 98. Details of sslcsrgen (continued)
Synopsis
racadm sslcsrgen -g
racadm sslcsrgen [-g] [-f <filename>]
racadm sslcsrgen -s
racadm sslcsrgen g -t <csr_type>
racadm sslcsrgen -g -f <filename> -t <csr_type>
racadm sslcsrgen -s -t <csr_type>
Input
-gGenerates a new CSR.
-sReturns the status of a CSR generation process (generation in progress, active, or none).
-fSpecifies the filename of the location, <filename>, where the CSR is downloaded.
NOTE: The -f option is only supported on the remote interfaces.
-t Specifies the type of CSR to be generated. The options are:
1SSL cert
Output If no options are specified, a CSR is generated and downloaded to the local file system as sslcsr by
default. The -g option cannot be used with the -s option, and the -f option can only be used with the -g
option.
The sslcsrgen -s subcommand returns one of the following status codes:
CSR was generated successfully.
CSR does not exist.
Example
Display the status of CSR operation:
racadm sslcsrgen -s
Generate and download a CSR to local file system using remote RACADM
racadm -r 192.168.0.120 -u <username> -p <password> sslcsrgen -g -f
csrtest.txt
Generate and download a CSR to local file system using local RACADM
racadm sslcsrgen -g -f c:\csr\csrtest.txt
NOTE: Before a CSR can be generated, the CSR fields must be configured in the RACADM iDRAC.Security group. For
example:
racadm set iDRAC.security.commonname MyCompany
NOTE: In or SSH console, you can only generate and not download the CSR file.
sslkeyupload
Table 99. Details of sslkeyupload
Description Uploads SSL key from the client to iDRAC.
To run this subcommand, you must have the Server Control privilege.
Synopsis
racadm sslkeyupload -t <type> -f <filename>
Input
-t Specifies the key to upload. The value is:
RACADM Subcommand Details 123