The wapi import private-key command imports the AC private key file.
The undo wapi private-key command deletes the imported AC private key file.
By default, no AC private key file is imported.
wapi import private-key format pkcs12 file-name file-name password password
wapi import private-key format pem file-name file-name
undo wapi private-key
Parameter |
Description |
Value |
---|---|---|
format pkcs12 |
Imports a private key file in P12 format. |
- |
format pem |
Imports a private key file in PEM format. |
- |
file-name file-name |
Specifies the name of a private key file. |
The value is a string of 1 to 255 characters. It cannot contain question marks (?) and cannot start or end with double quotation marks (" ") or spaces. |
password password |
Specifies the password in the private key file of the P12 format. |
The password can be in plain text or cipher text.
|
The certificate and private key to be imported must be valid and correct.