aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-server/certbot/scripts/create-certificates.sh
diff options
context:
space:
mode:
Diffstat (limited to 'matrix-server/certbot/scripts/create-certificates.sh')
-rw-r--r--matrix-server/certbot/scripts/create-certificates.sh10
1 files changed, 10 insertions, 0 deletions
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