< Home

pki cmp initial-request session

Function

The pki cmp initial-request session command configures a device to send an initial request (IR) to the CMPv2 server based on CMP session information.

Format

pki cmp initial-request session session-name

Parameters

Parameter Description Value
session-name Specifies the name of a CMP session. The value must be an existing CMP session name.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the command is executed, the system checks whether the configuration in the CMP session can be used for certificate application. If not, the system displays an error message. If so, the system performs an IR according to the configuration. The obtained certificate is saved in a file on the CF card or Hda1, but not imported to the memory. If the server issues the CA certificate during the response period, the CA certificate is also saved in a file.

Prerequisites

A CMP session has been created using the pki cmp session command.

Example

# Send an IR to the CMPv2 server.

<HUAWEI> system-view
[HUAWEI] pki cmp session test
[HUAWEI-pki-cmp-session-test] quit
[HUAWEI] pki cmp initial-request session test
 Info: Initializing configuration.                                              
 Info: Creatting initial request packet.                                        
 Info: Connectting to CMPv2 server.                                             
 Info: Sending initial request packet.                                          
 Info: Waitting for initial response packet.                                    
 Info: Creatting confirm packet.                                                
 Info: Connectting to CMPv2 server.                                             
 Info: Sending confirm packet.                                                  
 Info: Waitting for confirm packet from server.                                 
 Info: CMPv2 operation finish.   
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >