diff options
author | Kim Alvefur <zash@zash.se> | 2022-02-05 01:36:10 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-02-05 01:36:10 +0100 |
commit | 69a91952430724e285ac593468f6d65d76f23c2c (patch) | |
tree | 6a1445a3031e413d12b0e321bc04d910e3e5e8d1 /util | |
parent | 4441528b1f7578397e313ce49f623bdf33003f92 (diff) | |
download | prosody-69a91952430724e285ac593468f6d65d76f23c2c.tar.gz prosody-69a91952430724e285ac593468f6d65d76f23c2c.zip |
util.startup: Enable DANE in http client library with use_dane
Diffstat (limited to 'util')
-rw-r--r-- | util/startup.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/startup.lua b/util/startup.lua index f6c931dd..2d06f783 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -393,6 +393,7 @@ function startup.init_http_client() local https_client = config.get("*", "client_https_ssl") http.default.options.sslctx = require "core.certmanager".create_context("client_https port 0", "client", { capath = config_ssl.capath, cafile = config_ssl.cafile, verify = "peer", }, https_client); + http.default.options.use_dane = config.get("*", "use_dane") end function startup.init_promise() |