generate command
Use the generate command to generate a private key and public key pair with a self-signed certificate or a certificate sign request, and generate SED AK on the ThinkEdge servers when using with the --redfish parameter.
generate command syntax
OneCli.exe config generate <setting> --file <exportfilename> [<options>] --passphrase
Parameter | Required/Optional | Notes |
---|---|---|
--setting | Required | Specify the certificate management 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. |
| 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