blob: 804e54240d961ea4af601f8e4e0ca18305d821a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
echo "running create certs..."
# Request certificates
certbot certonly --standalone \
--non-interactive \
--agree-tos \
--email thabogre@gmail.com \
--http-01-port=380 \
--cert-name terminaldweller.com \
-d terminaldweller.com,mail.terminaldweller.com,www.terminaldweller.com,matrix.terminaldweller.com,element.terminaldweller.com,blog.terminaldweller.com \
--dry-run
# --server https://acme-v02.api.letsencrypt.org/directory \
# Concatenate certificates
. /etc/scripts/concatenate-certificates.sh
# Update certificates in HAProxy
. /etc/scripts/update-haproxy-certificates.sh
|