diffie-hellman modulus

Function

The diffie-hellman modulus command sets the modulus of the Diffie-Hellman key exchange algorithm.

By default, the value Diffie-Hellman key exchange algorithm modulus is 3072.

Format

diffie-hellman modulus modulus-val

undo diffie-hellman modulus

Parameters

Parameter Description Value
modulus-val

Specifies the modulus of the Diffie-Hellman key exchange algorithm.

The value can be 2048, 3072 or 4096.

Views

SSL policy view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssl write

Usage Guidelines

This command can set the modulus of the Diffie-Hellman key exchange algorithm.

Example

# Sets the modulus of the Diffie-Hellman key exchange algorithm.
<HUAWEI> system-view
[~HUAWEI] ssl policy a
[~HUAWEI-ssl-policy-a] diffie-hellman modulus 4096
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >