< Home

certificate local-filename

Function

The certificate local-filename command specifies the file name of the certificate used on the local end.

The undo certificate local-filename command cancels the certificate configuration.

By default, no local certificate is configured.

Format

certificate local-filename filename

undo certificate local-filename

Parameters

Parameter Description Value
filename Specifies the file name of a local certificate. The value must be a name of the existing certificate.

Views

IKE peer view

Default Level

2: Configuration level

Usage Guidelines

When the authentication method is set to rsa-signature, you need to specify the file name of the certificate used by the local end.

Example

# Specify the certificate file1.cer for the local end.

<sysname> system-view
[sysname] ike peer a
[sysname-ike-peer-a] certificate local-filename file1.cer
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >