Add 'Set-Backend-SSL.sh'

This commit is contained in:
bprieshof committed 2018-10-11 12:11:22 +02:00
1 parent 46bd8f541b
commit 2176f19cd3
1 file changed
+8
+8
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