From 3d2f41dedca389355d2c4a8c125a4d440c4484f7 Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Thu, 9 Nov 2017 08:23:13 +0100 Subject: [PATCH] jbboehr's fix for #21 --- mail-server/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail-server/common.nix b/mail-server/common.nix index 0d15ce7..12d7b96 100644 --- a/mail-server/common.nix +++ b/mail-server/common.nix @@ -26,7 +26,7 @@ in else if cfg.certificateScheme == 2 then "${cfg.certificateDirectory}/cert-${cfg.domain}.pem" else if cfg.certificateScheme == 3 - then "/var/lib/acme/acme-challenge/${cfg.hostPrefix}.${cfg.domain}/fullchain.pem" + then "/var/lib/acme/${cfg.hostPrefix}.${cfg.domain}/fullchain.pem" else throw "Error: Certificate Scheme must be in { 1, 2, 3 }"; # key :: PATH @@ -35,6 +35,6 @@ in else if cfg.certificateScheme == 2 then "${cfg.certificateDirectory}/key-${cfg.domain}.pem" else if cfg.certificateScheme == 3 - then "/var/lib/acme/acme-challenge/${cfg.hostPrefix}.${cfg.domain}/privkey.pem" + then "/var/lib/acme/${cfg.hostPrefix}.${cfg.domain}/key.pem" else throw "Error: Certificate Scheme must be in { 1, 2, 3 }"; }