11 lines
376 B
Bash
11 lines
376 B
Bash
#!/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"
|