prosody service: set cafile

Fix s2s_secure_auth.
This commit is contained in:
Satoshi Shishiku 2018-04-26 09:12:36 +00:00 committed by Franz Pletz
parent 5b9aa05522
commit 5a93f6149a
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -228,6 +228,7 @@ let
createSSLOptsStr = o: ''
ssl = {
cafile = "/etc/ssl/certs/ca-bundle.crt";
key = "${o.key}";
certificate = "${o.cert}";
${concatStringsSep "\n" (mapAttrsToList (name: value: "${name} = ${toLua value};") o.extraOptions)}