Skip to main content

export command

Use the export command to export a selected certificate or certificate sign request (CSR) file. The export command generates a binary file that is saved as the specified file path.

export command specific syntax

OneCli.exe config export <setting> --file <exportfilename> [<options>]
Table 1. export command specific parameters
ParameterRequired/OptionalNotes
--settingRequiredCertificate management setting
--fileRequiredThe file path to save the exported certificate.
--kcsOptionalForce to use IPMI over KCS local interface.
  • --bmc, -b

  • --bmc-rest-port, -p

  • --bmc-password, -w

  • --bmc-username, -u

  • --check-trust, -C

  • --config

  • --node

  • --nolog

  • --never-check-trust, -N

  • --output, -o

Optional

Refer to Table 2.

Example of the export command

OneCli.exe config export IMM.SSL_HTTPS_SERVER_CERT --file temp.cert --bmc userid:password@host