This repository has been archived on 2023-05-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
VPS-scripts_Ubuntu-Vesta/Set-Backend-SSL.sh
2018-10-11 12:11:22 +02:00

8 lines
274 B
Bash

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