Use the deletecert command to delete a certificate on an IMM.
deletecert command syntax
OneCli.exe config deletecert<setting>[--output<folder>][connection option]
Parameter | Required/Optional | Notes |
---|---|---|
setting | Required | Certificate management setting |
--output | Optional | By default, the log file output is saved to: ../Onecli-%PID%-%date%-%time%/. |
connection option | Optional |
|
Additional information
IMM.SSH_SERVER_KEY=*generate IMM.SSL_HTTPS_SERVER_CERT=*generate=import=export IMM.SSL_HTTPS_SERVER_CSR=*generate=export IMM.SSL_LDAP_CLIENT_CERT=*generate=import=export IMM.SSL_LDAP_CLIENT_CSR=*generate=export IMM.SSL_SERVER_DIRECTOR_CERT=*generate=import=export IMM.SSL_SERVER_DIRECTOR_CSR=*generate=export IMM.SSL_CLIENT_TRUSTED_CERT1=*import=export=deletecert IMM.SSL_CLIENT_TRUSTED_CERT2=*import=export=deletecert IMM.SSL_CLIENT_TRUSTED_CERT3=*import=export=deletecert
Example of the deletecert command
OneCli.exe config deletecert IMM.SSL_HTTPS_SERVER_CERT --file temp.cert --imm USERID:PASSW0RD@10.240.252.102
Lenovo ToolsCenterSuite CLI tcliXXX-X.X.X
Based on module version X.X.X
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2016 All Rights Reserved
Invoking SHOW command ...
Connected to IMM by IP address 10.240.252.102
Waiting for command completion status.
Certificate was deletecert successfully!