wapi import private-key
Format
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
Parameters
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.
|
Usage Guidelines
- If WAPI certificate authentication is specified as a security policy in a security profile, run the wapi import private-key command to specify the private key file for the central AP certificate.
- Before using this command, store the central AP private key file to the storage of the device, and import the private key file using TFTP.
- After this command is used, the system obtains the private key file and establishes the mapping between the certificate and private key.
The certificate and private key to be imported must be valid and correct.