< Home

ssl whitelist hostname

Function

The ssl whitelist hostname command adds a host name to the SSL host name whitelist.

The undo ssl whitelist hostname command deletes a host name from the SSL host name whitelist.

Format

ssl whitelist hostname hostname

undo ssl whitelist hostname { hostname | all }

Parameters

Parameter Description Value
hostname It is the DNS Name or Common Name field of the subject alternative name in the server certificate, in domain name format, such as example.com. The value is a character string. The length of a name without spaces ranges from 1 to 64 characters. The length of a name with spaces ranges from 3 to 66 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "user for test").

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The function of the ssl whitelist hostname is the same as that of the ssl_whitelist_userdefined-hostnamecommand.

Example

# Add example.com to the SSL host name whitelist and commit the configuration.

<sysname> system-view
[sysname] ssl whitelist hostname example.com
 Warning: The whitelist hostname is being modified. Please commit it.
[sysname] ssl whitelist commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >