diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-07-29 21:17:54 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-07-29 21:17:54 +0200 |
commit | 53af9a2e061558cc129e666985ebea1683506481 (patch) | |
tree | c36c30ac23a0def97765d5892fb44d26ccfb8271 /theos/certs/kyriasis_com.sls | |
parent | 590dc8d623e1077f77ec6847110e285750f60b4f (diff) | |
download | file-53af9a2e061558cc129e666985ebea1683506481.tar.xz |
Matrix should use server_name cert
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/certs/kyriasis_com.sls')
-rw-r--r-- | theos/certs/kyriasis_com.sls | 14 |
1 files changed, 14 insertions, 0 deletions
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: |