From 53af9a2e061558cc129e666985ebea1683506481 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 29 Jul 2019 21:17:54 +0200 Subject: Matrix should use server_name cert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- theos/certs/kyriasis_com.sls | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'theos/certs/kyriasis_com.sls') diff --git a/theos/certs/kyriasis_com.sls b/theos/certs/kyriasis_com.sls index 6ce0fe9..68bb7ab 100644 --- a/theos/certs/kyriasis_com.sls +++ b/theos/certs/kyriasis_com.sls @@ -13,4 +13,18 @@ kyriasis.com: - require_in: - service: nginx_service +/etc/synapse/ssl/fullchain.pem: + file.managed: + - source: /etc/letsencrypt/live/kyriasis.com/fullchain.pem + - user: synapse + - group: synapse + - mode: 600 + +/etc/synapse/ssl/privkey.pem: + file.managed: + - source: /etc/letsencrypt/live/kyriasis.com/privkey.pem + - user: synapse + - group: synapse + - mode: 600 + # vim: set ft=yaml et: -- cgit v1.2.3-54-g00ecf