aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-server/certbot/scripts/create-certificates.sh
blob: 1bc10948aab5b03e74ea40392734bcf6f8e6f8c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/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
# Concatenate certificates
. /etc/scripts/concatenate-certificates.sh
# Update certificates in HAProxy
. /etc/scripts/update-haproxy-certificates.sh