Skip to content

Commit

Permalink
correct DHE and ECDHE
Browse files Browse the repository at this point in the history
  • Loading branch information
yinian1992 committed Oct 26, 2023
1 parent b68c09b commit 6e9427b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/openldap-from-scratch-1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ OpenSSL,那么此处填写的密码套件也是 OpenSSL 格式的。向 ``tls.
add: olcTLSCipherSuite
olcTLSCipherSuite: ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
这些密码套件中都使用了短暂迪菲-赫尔曼密钥交换(DHE,Diffie-Hellman Key
Exchange)和短暂椭圆曲线迪菲-赫尔曼密钥交换(ECDHE,Elliptic Curve
Diffie-Hellman Key Exchange),能提供完全向前保密(PFS,Perfect Forward
这些密码套件中都使用了瞬现迪菲-赫尔曼密钥交换(DHE,Ephemeral Diffie-Hellman\
)和瞬现椭圆曲线迪菲-赫尔曼密钥交换(ECDHE,Elliptic Curve Ephemeral
Diffie-Hellman),能提供完全向前保密(PFS,Perfect Forward
Secrecy),即便私钥暴露,攻击者也不能解密暴露之前的会话内容。

为此,需要用 ``olcTLSDHParamFile`` 指定 DH 参数。因为服务器私钥为 2048 位,也\
Expand Down

0 comments on commit 6e9427b

Please sign in to comment.