< Home

ssl public-key algorithm

Function

The ssl public-key algorithm command sets the public key algorithm of the virtual gateway.

Format

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

Virtual gateway basic view

Default Level

2: Configuration level

Usage Guidelines

By default, the public key algorithm of the virtual gateway 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 of the virtual gateway to SM2.

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