Command Line Reference Guide

-s — Returns the status of a CSR generation
process (generation in progress, active, or none).
-f — Specifies the filename of the location,
<
filename
>, where the CSR is downloaded.
NOTE: If the -f option is not specified, the filename
defaults to sslcsr in your current directory.
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
racadm sslcsrgen -s
or
racadm sslcsrgen -g -f c:\csr
\csrtest.txt
NOTE: Before a CSR can be generated, the CSR fields must be configured in the RACADM cfgRacSecurity group.
For example: racadm config -g cfgRacSecurity -o cfgRacSecCsrCommonName MyCompany
NOTE: In telnet/ssh console, you can only generate and not download the CSR file.
sslresetcfg
Description Restores the web-server certificate to factory default and
restarts web-server. The certificate takes effect 30
seconds after the command is entered.
To use this subcommand, you must have the Chassis
Configuration Administrator privilege for CMC.
Synopsis
racadm sslresetcfg
Example
$ racadm sslresetcfg
Certificate generated successfully and
webserver restarted.
testemail
Description Sends a test e-mail from iDRAC to a specified destination. Prior to executing the test e-
mail command, make sure that the SMTP server is configured and the specified index in
the RACADM cfgEmailAlert group is enabled and configured properly.
Synopsis
racadm testemail -i <index>
Input -i — Specifies the index of the e-mail alert to test.
93