wordpress-duplicator-lights.../install-ssl.sh

11 lines
376 B
Bash
Raw Normal View History

2020-06-08 10:43:48 +00:00
#!/bin/sh
sudo apt install -y certbot
sudo certbot certonly --webroot --webroot-path /usr/local/lsws/wordpress
echo "NOW VISIT <IP>:7080"
echo " login and set SSL"
echo " Listeners > SSL > SSL Private Key & Certificate"
echo " Private Key File: /etc/letsencrypt/live/YOUR_DOMAIN/privkey.pem"
echo " Private Key File: /etc/letsencrypt/live/YOUR_DOMAIN/privkey.pem"