< Home

cmp-request server url

Function

The cmp-request server url command specifies the URL address of a CMPv2 server.

The undo cmp-request server url command deletes the URL address of a CMPv2 server.

By default, the URL of a CMPv2 server is not configured.

Format

cmp-request server url [ esc ] url-addr

undo cmp-request server url

Parameters

Parameter Description Value

esc

Specifies the entering of URLs in the ASCII code.

-

url-addr

Specifies the URL of the CMPv2 server.

The value is a string starting with http:// and consisting of 1 to 128 case-insensitive characters without spaces.

Views

CMP session view

Default Level

2: Configuration level

Usage Guidelines

Configure a URL for the CMPv2 server before certificate application. Then the PKI entity sends a request message to the server's URL.

A user cannot enter command lines that include a question mark (?). Therefore, keyword esc supports the entering of URLs that include the question mark (?) in the ASCII code. The URL must be in \x3f format, and 3f is the hexadecimal ASCII code for the question mark (?). For example, if a user wants to enter http://***.com?page1, the URL is http://***.com\x3fpage1. If a user wants to enter http://www.***.com?page1\x3f that includes both a question mark (?) and \x3f, the URL is http://www.***.com\x3fpage1\\x3f.

Example

# Set the URL of the CMPv2 server for CMP session test to http://10.1.1.1:8080.

<HUAWEI> system-view
[HUAWEI] pki cmp session test
[HUAWEI-pki-cmp-session-test] cmp-request server url http://10.1.1.1:8080

# Set the URL of the CMPv2 server for CMP session test to http://www.***.com?page1\x3f.

<HUAWEI> system-view
[HUAWEI] pki cmp session test
[HUAWEI-pki-cmp-session-test] cmp-request server url esc http://www.***.com\x3fpage1\\x3f
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >