generate command
Use the generate command to generate the selected certificates, generate a private key and public key pair with a self-signed certificate or a certificate sign request, and generate SED AK on SE350 V2/SE360 V2 when using with the --redfish parameter.
generate command syntax
OneCli.exe config generate <setting> --file <exportfilename> [<options>] --passphrase
Parameter | Required/Optional | Notes |
---|---|---|
--extra-settings-list | Required | UEFI extra settings list which includes all settings that can be added as extra settings. |
--file | Optional |
|
--kcs | Optional | Force to use IPMI over KCS local interface. |
--passphrase | Optional | The passphrase to generate SED AK, which is not required when used to generate a random SED AK. |
--setting | Required | Specify the certificate management settings. |
| Optional | Refer to Table 2. |
Example of the generate command
To generate the certificate:
onecli.exe config generate IMM.SSL_HTTPS_SERVER_CERT --file template.xml
--bmc USERID:PASSW0RD@XX.XX.XX.XX
To generate SED AK with the random method:
OneCli.exe config generate Security.SED_AK --bmc USERID:PASSW0RD
@XX.XX.XX.XX --redfish
To generate SED AK with the passphrase method:
OneCli.exe config generate Security.SED_AK --passphrase xxxxxx
--bmc USERID:PASSW0RD@XX.XX.XX.XX --redfish
Give documentation feedback