< Home

v-gateway public ssl public-key algorithm

Function

The v-gateway public ssl public-key algorithm command sets the public key algorithm shared by virtual gateways.

Format

v-gateway public ssl public-key algorithm [ RSA | SM2 ]

Parameters

Parameter Description Value
RSA Indicates the public key algorithm RSA. -
SM2 Indicates the public key algorithm SM2. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command is required when multiple virtual gateways share a public IP address. Only the public system administrator can run this command.

By default, the public key algorithm shared by virtual gateways is RSA.

When the public key algorithm is set to SM2, only the VPN client that supports the SM2 algorithm can be used for login.

After the public key algorithm is switched, all users of the corresponding virtual gateway go offline.

Example

# Set the public key algorithm shared by virtual gateways to SM2.

<sysname> system-view
[sysname] v-gateway public ssl public-key algorithm SM2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >