| Parameter | Description | Value |
|---|---|---|
| rsa-key-pair rsa-key-pair-name | Specifies the name of the RSA key pair in an SSL decryption certificate. | The RSA key pair must exist in the memory. |
| entity entity-name | Specifies the PKI entity name. | The PKI entity must have been configured and have a common name. If the PKI entity does not have a common name, an SSL decryption certificate cannot be generated. |
Usage Scenario
To enable a proxy for SSL connection, the device complies with the certificate information on the real server and issues another certificate to the client using the SSL decryption certificate.
The SSL decryption certificate file generated on the USG6000E are stored in the hda1:/ directory. The SSL decryption certificate file is named Name of the RSA Key Pair of the SSL Decryption Certificate_builtinca.cer.
Prerequisites
# Generate an SSL decryption certificate.
<sysname> system-view [sysname] pki rsa built-in-ca rsakey create Info: The name of the new key-pair will be: rsakey The size of the public key ranges from 2048 to 4096. Input the bits in the modules:2048 Generating key-pairs... ........++++++ ........++++++ [sysname] pki entity entity1 [sysname-pki-entity-entity1] common-name huawei [sysname-pki-entity-entity1] quit [sysname] pki generate built-in-ca certificate rsa-key-pair rsakey entity entity1 Please enter the file name for built in CA certificate <length 1-64> : key1 Info: Generate built in CA certificate successfully.
<sysname> dir hda1:/
13 -rw- 1155 Oct 16 2013 13:54:10 key1