aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-server/certbot/scripts/concatenate-certificates.sh
diff options
context:
space:
mode:
Diffstat (limited to 'matrix-server/certbot/scripts/concatenate-certificates.sh')
-rw-r--r--matrix-server/certbot/scripts/concatenate-certificates.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/matrix-server/certbot/scripts/concatenate-certificates.sh b/matrix-server/certbot/scripts/concatenate-certificates.sh
new file mode 100644
index 0000000..5238a9b
--- /dev/null
+++ b/matrix-server/certbot/scripts/concatenate-certificates.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+if [ -f /etc/letsencrypt/live/davole.com/fullchain.pem -a -f /etc/letsencrypt/live/davole.com/privkey.pem ]; then
+ cat /etc/letsencrypt/live/davole.com/fullchain.pem /etc/letsencrypt/live/davole.com/privkey.pem > /etc/certificates/davole.com.pem
+fi