aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-server/certbot/scripts/concatenate-certificates.sh
blob: 242f5e525f627e7f2bfbe0ab9f50483103cbafbb (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

echo "running concat certs..."
if [ -f /etc/letsencrypt/live/terminaldweller.com/fullchain.pem -a -f /etc/letsencrypt/live/terminaldweller.com/privkey.pem ]; then
  echo "when you're out, we're in...''"
  cat /etc/letsencrypt/live/terminaldweller.com/fullchain.pem /etc/letsencrypt/live/terminaldweller.com/privkey.pem > /etc/certificates/terminaldweller.com.pem
fi