Add 'Set-Backend-SSL.sh'
This commit is contained in:
8
Set-Backend-SSL.sh
Normal file
8
Set-Backend-SSL.sh
Normal 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
|
||||||
Reference in New Issue
Block a user