The certificate-server sm2 signature command sets the signature certificate for the virtual gateway.
The undo certificate-server sm2 signature command restores the default encryption certificate.
certificate-server sm2 signature certificate-name enable
undo certificate-server sm2 signature
| Parameter | Description | Value |
|---|---|---|
| certificate-name | Specifies the name of a signature certificate. | The value is a string of 1 to 64 case-insensitive characters. |
By default, the signature certificate of the virtual gateway is automatically generated. You can also apply to an authority for a signature certificate.
The signature certificate is used for certificate authentication. When an SSL connection is set up between a client and a virtual gateway, the virtual gateway sends the signature certificate to the client. The value of the CN field in the signature certificate must be the same as the virtual gateway address or domain name.
Before configuring this certificate, you need to import the certificate to the system through pki import-certificate.