One Click Instalation - SSL Missing

#1
Hi!

I have a VPS with Ubuntu 20.4.3 LTS and I just installed OLS trought One Click script, but the ssl for my domain isn't installed.

Could you help me?

I review the system and letsencrypt neither cerbot is installed with the script.

The command I have used is:

./ols1clk.sh --wordpressplus a.com

Thanks in advance
 

Cold-Egg

Administrator
#2
HI,
--wordpressplus a.com means to create and configure a WordPress, not including let's encrypt.
If you want, please run the command to install certbot
1. Install Certbot
Code:
apt-get -y install certbot
2. Apply cert with example command
Code:
certbot certonly --webroot -w /usr/local/lsws/wordpress/ -d example.com -d www.example.com
3. Add SSL to the listener
https://docs.litespeedtech.com/cloud/images/wordpress/#step-4-set-ssl-for-https
4. Add restart hook to cronjob
https://docs.litespeedtech.com/cloud/images/wordpress/#how-does-certbots-auto-renew-script-work


Another method is to use vhost script to create a new virtual host, domain and LE apply.
https://github.com/litespeedtech/ol...virtual-hosts-and-le-certificate-from-console

1. Install Certbot
Code:
apt-get -y install certbot
2. Run script
Code:
/bin/bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/vhsetup.sh ) -d www.example.com -le admin@example.com -f
 
Top