No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
wapi import private-key

wapi import private-key

Function

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.

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.
  • A plain text password is a string of 1 to 32 characters.
  • A cipher text password is a string of 48 or 68 characters.

Views

Security profile view

Default Level

3: Management level

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 AC certificate.
  • Before using this command, store the AC 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.
NOTE:

The certificate and private key to be imported must be valid and correct.

Example

# Import the AC private key file ac_key.key.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] security-profile name p1
[HUAWEI-wlan-sec-prof-p1] wapi import private-key format pem file-name flash:/ac_key.key
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 113020

Downloads: 83

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next