Virtual Host SSL does not override Listener SSL

#1
Some info
Ubuntu 24
OpenLiteSpeed 1.8.4

My OLS server had one virtual host mapped to the HTTP & HTTPS listeners
The LetsEncrypt SSL was set on the SSL tab on the virtual host. The SSL only worked for the domain after I added the LetsEncrypt files to the HTTPS listener's SSL tab(not to be confused with the mapped virtual host)

I repeated the above steps for a second virtual host, however, I noticed the HTTPS listener's SSL for the virtual host was automatically added to SSL tab of mapped virtual host
Of course the SSL failed for the second domain, it clearly pointed out that the SSL was only valid for the domain of the first virtual host

I followed this guide. The listener's config from its SSL tab kept replacing the SSL of the mapped virtual hosts. I configured a self signed certificate for the listener, even removed its SSL completely but the issue persisted and both domain lost their certificates

From what I have read the virtual host's SSL certificates should always take precedence over the SSL configured on the listener

Please let me know what configs and other info I can share to get to the bottom of this :)
 
#2
Your settings sound good. I have one Ubuntu 24.04 + OLS v1.8.4-3 and can not reproduce it. Could you check the logs and let us know if there are any error/issue reports? If none, please submit the issue to support@.litespeedtech.com with this forum post link appended.
 
Top