< Home

ssl whitelist userdefined-hostname rename

Function

The ssl whitelist userdefined-hostname rename command renames a domain name in the SSL domain name whitelist.

Format

ssl whitelist userdefined-hostname rename old-hostname new-hostname

Parameters

Parameter Description Value
old-hostname Specifies the original domain name. The value must be a user-defined domain name existing in the SSL domain name whitelist.
new-hostname Specifies the new domain name. The value is a case-insensitive string of 1 to 64 characters. If the name contains spaces, the length ranges from 3 to 66 characters. You need to use double quotation marks ("") to enclose the name, for example, "www.example.com".

Views

System view

Default Level

2: Configuration level

Usage Guidelines

None.

Example

# Change domain name www.example.com to www.test.com in the SSL domain name whitelist.

<sysname> system-view
[sysname] ssl whitelist userdefined-hostname rename www.example.com www.test.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >