From ecef4e3cc9f2d414b817b18a0b9c7303c39e519a Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sun, 17 Jan 2021 09:48:35 +0330 Subject: matrix server docker-compose WIP --- matrix-server/certbot/scripts/create-certificates.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 matrix-server/certbot/scripts/create-certificates.sh (limited to 'matrix-server/certbot/scripts/create-certificates.sh') diff --git a/matrix-server/certbot/scripts/create-certificates.sh b/matrix-server/certbot/scripts/create-certificates.sh new file mode 100644 index 0000000..5fb6345 --- /dev/null +++ b/matrix-server/certbot/scripts/create-certificates.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# Request certificates +certbot certonly --standalone \ + --non-interactive --agree-tos --email info@davole.com --http-01-port=380 \ + --cert-name davole.com \ + -d davole.com +# Concatenate certificates +. /etc/scripts/concatenate-certificates.sh +# Update certificates in HAProxy +. /etc/scripts/update-haproxy-certificates.sh -- cgit v1.2.3