aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-server/certbot/scripts/update-haproxy-certificates.sh
diff options
context:
space:
mode:
authorubuntu <ubuntu@terminaldweller.com>2021-01-29 16:41:29 +0000
committerubuntu <ubuntu@terminaldweller.com>2021-01-29 16:41:29 +0000
commit71eecf0c6eec5c7847f841e9c85845b677302ca1 (patch)
tree8df231b17037b5f9df22d0af224b1d7a00416d48 /matrix-server/certbot/scripts/update-haproxy-certificates.sh
parentupdate (diff)
downloaddockerimages-71eecf0c6eec5c7847f841e9c85845b677302ca1.tar.gz
dockerimages-71eecf0c6eec5c7847f841e9c85845b677302ca1.zip
matrix server update...almost working...WIP
Diffstat (limited to 'matrix-server/certbot/scripts/update-haproxy-certificates.sh')
-rw-r--r--matrix-server/certbot/scripts/update-haproxy-certificates.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/matrix-server/certbot/scripts/update-haproxy-certificates.sh b/matrix-server/certbot/scripts/update-haproxy-certificates.sh
index a1f9fc6..9eaae7c 100644
--- a/matrix-server/certbot/scripts/update-haproxy-certificates.sh
+++ b/matrix-server/certbot/scripts/update-haproxy-certificates.sh
@@ -1,10 +1,11 @@
-#!/bin/bash
+#!/bin/sh
+echo "running update certs..."
# Start transaction
-echo -e "set ssl cert /usr/local/etc/haproxy/certificates/davole.com.pem <<\n$(cat /etc/certificates/davole.com.pem)\n" | socat tcp-connect:haproxy:9999 -
+echo -e "set ssl cert /etc/letsencrypt/live/terminaldweller.com/fullchain.pem <<\n$(cat /etc/certificates/terminaldweller.com.pem)\n" | socat tcp-connect:haproxy:9999 -
# Commit transaction
-echo "commit ssl cert /usr/local/etc/haproxy/certificates/davole.com.pem" | socat tcp-connect:haproxy:9999 -
+echo "commit ssl cert /etc/letsencrypt/live/terminaldweller.com/fullchain.pem" | socat tcp-connect:haproxy:9999 -
# Show certification info (not essential)
-echo "show ssl cert /usr/local/etc/haproxy/certificates/davole.com.pem" | socat tcp-connect:haproxy:9999 -
+echo "show ssl cert /etc/letsencrypt/live/terminaldweller.com/fullchain.pem" | socat tcp-connect:haproxy:9999 -