Software /
code /
prosody
Diff
core/certmanager.lua @ 8279:92cddfe65003
core.certmanager: Set a default curveslist [sic], fixes #879, #943, #951 if used along with luasec 0.7 and openssl 1.1
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 27 Sep 2017 15:45:07 +0200 |
parent | 8274:3798955049e3 |
child | 8403:ba39d3a1d42e |
line wrap: on
line diff
--- a/core/certmanager.lua Wed Sep 27 15:38:46 2017 +0200 +++ b/core/certmanager.lua Wed Sep 27 15:45:07 2017 +0200 @@ -107,6 +107,12 @@ }; verifyext = { "lsec_continue", "lsec_ignore_purpose" }; curve = "secp384r1"; + curveslist = { + "X25519", + "P-384", + "P-256", + "P-521", + }; ciphers = { -- Enabled ciphers in order of preference: "HIGH+kEDH", -- Ephemeral Diffie-Hellman key exchange, if a 'dhparam' file is set "HIGH+kEECDH", -- Ephemeral Elliptic curve Diffie-Hellman key exchange