From 5a93f6149abb404e053f3759e64e93f20de312da Mon Sep 17 00:00:00 2001 From: Satoshi Shishiku Date: Thu, 26 Apr 2018 09:12:36 +0000 Subject: [PATCH] prosody service: set cafile Fix s2s_secure_auth. --- nixos/modules/services/networking/prosody.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/prosody.nix b/nixos/modules/services/networking/prosody.nix index a37ef98caec6..25b7d6dbeba2 100644 --- a/nixos/modules/services/networking/prosody.nix +++ b/nixos/modules/services/networking/prosody.nix @@ -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)}