I’ve recently begun using CyberPanel on Ubuntu 18.04. I also tried on Ubuntu 20 with the same result. The problem goes like this: I image the server, install CyberPanel and add websites. I already have the domains pointed to the server.
At first, it works wonderfully. The sites have secure SSL connections, I’m able to install WordPress. Then 24-48 hours later, https:// connections no longer work. http:// connections still work, but I’m no longer able to view sites on https. I get ERR_TIMED_OUT or ERR_CONNECTION_CLOSED errors.
I’ve gone through this three times, twice with Ubuntu 20 and once with Ubuntu 18. The last time, I checked the listeners, firewall, and virtual hosts in the LiteSpeed control panel and everything appeared to be correct. I’m getting the same errors when trying to access the LiteSpeed web panel so I can’t see what it looks like now.
This was the log output after trying to access one site:
[12.06.2021_02-04-27] Trying to obtain SSL for: fastbeautytips.com and: www.fastbeautytips.com
[12.06.2021_02-04-27] /root/.acme.sh/acme.sh --issue -d fastbeautytips.com -d www.fastbeautytips.com --cert-file /etc/letsencrypt/live/fastbeautytips.com/cert.pem --key-file /etc/letsencrypt/live/fastbeautytips.com/privkey.pem --fullchain-file /etc/letsencrypt/live/fastbeautytips.com/fullchain.pem -w /home/fastbeautytips.com/public_html -k ec-256 --force --server letsencrypt
[12.06.2021_02-04-28] Failed to obtain SSL for: fastbeautytips.com and: www.fastbeautytips.com
[12.06.2021_02-04-28] Trying to obtain SSL for: fastbeautytips.com
[12.06.2021_02-04-32] Successfully obtained SSL for: fastbeautytips.com
[12.06.2021_02-04-32] {'[email protected]': (554, b'5.7.1 <[email protected]>: Relay access denied')}
I can’t understand why everything works for a day or two, and then stops. The problem usually occurs overnight, so I think it’s nothing I’ve done.
I really want to get this working. I only learned about LiteSpeed recently. I’ve been using WHM on CentOS for years. I initially tried to install CyberPanel on CentOS and then AlmaLinux but there was some problem when the auto installer tried to install one php. I’ve been working with this SSL problem for about a week now. If I can’t get it working I’ll sadly go back to Apache.