Multiple SSL configuration

Cyrus

New Member
#1
Hello,

I'm currently using Litespeed for multiple domains that point to a single IP address.

I've configured an SSL listener on port 443 for that single IP address.

I've mapped multiple Vhosts on that listener for my respective domains.

examples:

example.com (with its own SSL cert, key, and bundle)
example2.com (with its own SSL cert, key, and bundle)

Unfortunately, Litespeed will not let me create that listener without defining the SSL information on the listener level.
If I properly configure the SSL certs on the Vhost level, it's defaulting to the cert on the listener level.

If I have the cert for example.com defined on the listener level, it's working just fine; however, when I connect to

https://example2.com it's throwing an invalid cert error as It's using the listener configuration. I've defined the example2.com cert,key, and bundle on the VHOST level but it's still using the listener configuration.

Any advice would be appreciated on how best to handle this scenario.

Does Litespeed not use the VHOST SSL configuration for each respective domain?
 

mistwang

LiteSpeed Staff
#2
Make sure the listener to vhost mapping uses the correct domain name, in you case, you must use "example2.com", cannot use "*" to map to example2.com .
 
Top