I checked lsws error log and found these error messages:
2020-09-18 09:25:54.589384 [ERROR] HttpListener::start(): Can’t listen at address adminListener: Address already in use!
2020-09-18 09:25:54.589421 [ERROR] HttpServer::addListener(adminListener) failed to create new listener
2020-09-18 09:25:54.589429 [ERROR] [config:admin:listener:adminListener] failed to start listener on address *:7080!
2020-09-18 09:25:54.589439 [ERROR] [config:admin:listener] No listener is available for admin virtual host!
2020-09-18 09:25:54.589470 [ERROR] Fatal error in configuration, exit!
It seem like that the http listener didn’t stop completely when restart after ssl issued. This does not happend with cyberpanel + litespeed ent or when using ip:8090 to access the panel. Only happend when using subdomain + openlitespeed.
I check for the code from cyberpanel that restart lsws and find this:
Edit that file, just use:
command = “sudo /usr/local/lsws/bin/lswsctrl restart”
in both case solved the problem.