Enabling SSL throws unnecessary error

1 post / 0 new
#1 Sat, 10/31/2009 - 11:35
lewisjenkins

Enabling SSL throws unnecessary error

Hi

I have a multi-domain cert set up as follows :

Common Name : www.domain1.com

Subject Alt Name : www.domain2.com

If I then enable SSL on domain 2, it throws the usual error about "SSL cannot be enabled for more than one domain on the IP address...".

Is this because the cert is setup for www.domain2.com, and not domain2.com? If so, shouldn't Virtualmin check for the www prefix and not throw the error?

I can continue regardless and it works, but it creates unnecessary ssl files in the domain2.com home directory and confuses itself.

The workaround would be to create an additional Subject Alt Name as follows :

Common Name : www.domain1.com

Subject Alt Name : www.domain2.com

Subject Alt Name : domain2.com

... which should avoid the error but this will require two Subject Alt Names for each domain. Costly!