aboutsummaryrefslogblamecommitdiffstats
path: root/matrix-server/certbot/scripts/concatenate-certificates.sh
blob: 29e75ea5238454e173bb1f8b40133ff37367376f (plain) (tree)
1
2
3
4
5
6
         
 

                                                                                                                                   
                                                                                                                                                               
  
#!/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
  cat /etc/letsencrypt/live/terminaldweller.com/fullchain.pem /etc/letsencrypt/live/terminaldweller.com/privkey.pem > /etc/certificates/terminaldweller.com.pem
fi