< Home

certificate-server sm2 signature

Function

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.

Format

certificate-server sm2 signature certificate-name enable

undo certificate-server sm2 signature

Parameters

Parameter Description Value
certificate-name Specifies the name of a signature certificate. The value is a string of 1 to 64 case-insensitive characters.

Views

Virtual gateway basic view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the signature certificate of the virtual system to aaa.cer.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] basic
[sysname-gateway-basic] certificate-server sm2 signature aaa.cer enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >