Add 'Set-Backend-SSL.sh'

This commit is contained in:
bprieshof
2018-10-11 12:11:22 +02:00
parent 46bd8f541b
commit 2176f19cd3

8
Set-Backend-SSL.sh Normal file
View File

@@ -0,0 +1,8 @@
echo "Welk domein (zonder WWW) is er gekoppeld?"
read domain
cp /etc/letsencrypt/live/"$domain"/cert.pem /usr/local/vesta/ssl/certificate.crt
cp /etc/letsencrypt/live/"$domain"/privkey.pem /usr/local/vesta/ssl/certificate.key
service vesta restart
echo SSL is geactiveerd