The v-gateway public ssl public-key algorithm command sets the public key algorithm shared by virtual gateways.
| Parameter | Description | Value |
|---|---|---|
| RSA | Indicates the public key algorithm RSA. | - |
| SM2 | Indicates the public key algorithm SM2. | - |
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.