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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
pki import rsa-key-pair

pki import rsa-key-pair

Function

The pki import rsa-key-pair command imports the RSA key pair to the device memory.

Format

pki import rsa-key-pair key-name [ include-cert realm realm-name ] { pem | pkcs12 } file-name [ exportable ] [ password password ]

pki import rsa-key-pair key-name der file-name [ exportable ]

Parameters

Parameter Description Value
key-name Specifies the name of the RSA key pair on the device.

The value is a string of 1 to 64 characters and case-sensitive without spaces. If the character string is quoted by double quotation marks (" "), the character string can contain spaces.

include-cert Indicates importing the certificates in the file. -
realm realm-name

Specifies the PKI realm name of the imported certificate.

The value must be an existing PKI realm name.

pem file-name Indicates that the RSA key pair to be imported is in the PEM format and specifies the file name to store the RSA key pair. The value must be an existing certificate file name that stores the RSA key pair and the certificate.
pkcs12 file-name Indicates that the RSA key pair to be imported is in the PKCS12 format and specifies the file name to store the RSA key pair. The value must be an existing certificate file name that stores the RSA key pair and the certificate.
der file-name Indicates that the RSA key pair to be imported is in the DER format and specifies the file name to store the RSA key pair. The value must be an existing certificate file name that stores the RSA key pair and the certificate.
exportable Indicates that the imported RSA key pair can be exported. -
password password Specifies the decryption password of the RSA key pair. , and the password is the same as the password set by the pki export rsa-key-pair command The value must be the name of an existing decryption password of the RSA key pair.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Run this command to use the RSA key pair generated by other entities. After the configuration, the imported RSA key pair can be referenced by the PKI module for operations such as signing.

Windows Server 2003 has a low processing performance. For the device to connect to a Windows Server 2003, the device cannot have too many entities configured or use a large-sized key pair.

If you do not know the format of the key pair you want to import, configure each format in turn and check whether the key pair is successfully imported.

Prerequisites

The RSA key pair must already exist on the storage device.

Example

# Import RSA key pair aaa.pem. In the system, the RSA key pair name is key-1, and the password is Test!123456. The RSA key pair name can be marked exportable.

<Huawei> system-view
[Huawei] pki import rsa-key-pair key-1 pem aaa.pem exportable password Test!123456
 Info: Succeeded in importing the RSA key pair in PEM format.
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 211531

Downloads: 122

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