< Home

smart-upgrade verify-server disable

Function

The smart-upgrade verify-server disable command disables the server certificate verification function before a switch is connected to a proxy server for smart upgrade.

The undo smart-upgrade verify-server disable command enables the server certificate verification function before a switch is connected to a proxy server for smart upgrade.

By default, the server certificate verification function is enabled before a switch is connected to a proxy server for smart upgrade.

Format

smart-upgrade verify-server disable

undo smart-upgrade verify-server disable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

When the certificate for smart upgrade is invalid or no certificate for smart upgrade is available, you can run the smart-upgrade verify-server disable command to temporarily disable the certificate verification function.

Although the certificate verification function is manually disabled, an SSL policy still needs to be bound to smart upgrade. Therefore, after the certificate verification function is disabled, run the ssl policy policy-name command to create an empty SSL policy and run the smart-upgrade ssl-policy command to bind the SSL policy to smart upgrade.

Example

# Disable the function of verifying the HTTPS certificate of the server.

<HUAWEI> system-view
[HUAWEI] smart-upgrade verify-server disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >