CLI Guide
NOTE:
• If the -f option is not specied, the lename defaults to sslcsr in your current
directory.
• The -f option is only supported on the remote interface(s).
Output If no options are specied, a CSR is generated and downloaded to the local le 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 current status of CSR operation:
racadm sslcsrgen -s
or
racadm sslcsrgen -g -f c:\csr\csrtest.txt
• Generate and download a CSR to local le system:
racadm -r 192.168.0.120 -u root -p calvin sslcsrgen -g -f csrtest.txt
NOTE: Before a CSR can be generated, the CSR elds must be congured in the RACADM config —g cfgracsecurity
group. For example:
racadm config -g cfgracsecurity -o cfgRacSecCsrCommonName cmc-effort.cmc.com
NOTE: In Telnet or SSH console, you can only generate and not download the CSR
le.
NOTE: The duration for generating a CSR key depends on the length specied for the
key.
sslresetcfg
Description
Restores the web-server certicate to factory default and restarts web-server. The certicate takes eect 30
seconds after the command is entered.
To run this subcommand,you must have the Chassis Conguration Administrator privilege.
Synopsis
racadm sslresetcfg
Input N/A
Example
racadm sslresetcfg
Certificate generated successfully and webserver restarted.
testemail
Description
Sends a test email from CMC to a specied destination. Prior to running the test email command, make sure that the
SMTP server is congured.
The specied index in the cfgEmailAlert group must be enabled and congured properly. For more information, see the
Integrated Dell Remote Access Controller (iDRAC8) and iDRAC7 RACADM Command Line Interface Reference Guide
available at dell.com/support/manuals.
Synopsis
racadm testemail -i <index>
Input -i <index> — Species the index of the email alert to test.
82 RACADM Subcommand Details