Submitted by JCFDATA on Sat, 11/26/2011 - 10:37 Pro Licensee
The validation check fails on the SSL website...
How do I correct this behavior without having to get a second SSL certificate or a wildcard cert.
I use the certificate for the virtualmin/webmin interface which is on host.domain.com I do not use it for the general website at www.domain.com or domain.com
The error I get (domain changed to domain.com for example only)
domain.com SSL website : The SSL certificate for this virtual server does not match domain.com or www.domain.com. Instead, it matches the hostnames : host.domain.com, www.host.domain.com
Status:
Closed (fixed)
Comments
Submitted by andreychek on Sat, 11/26/2011 - 11:09 Comment #1
Howdy -- it's only possible to have one SSL Certificate per IP address.
However, an SSL certificate can be setup to work for multiple domains.
Is this a commercial SSL Certificate you're using, or is it self-signed?
Submitted by JCFDATA on Sun, 11/27/2011 - 07:00 Pro Licensee Comment #2
It is a commercial SSL certificate from GoDaddy.
Submitted by andreychek on Sun, 11/27/2011 - 09:39 Comment #3
Well, the problem is that you can only have one SSL Certificate per IP address.
If you didn't purchase a wildcard SSL certificate, or a UCC certificate that allows multiple domains on one SSL certificate -- then it's not possible to use additional domains with that SSL certificate.
If you wish to use SSL with that additional domain, your only options would be to either get another IP address, and purchase an additional SSL certificate -- or to purchase a wildcard or UCC certificate.
Submitted by JCFDATA on Tue, 11/29/2011 - 19:33 Pro Licensee Comment #4
I am not trying to use multiple domains or IPs.
I only have and want one (1) certificate for one (1) IP for one (1) site host.domain.com
What I trying to do is to get the Virtualmin validation to stop reporting (every day) the setup validation failed because the certificate is not for "www.domain.com" / "domain.com"
Submitted by andreychek on Tue, 11/29/2011 - 19:43 Comment #5
Hmm, it sounds like Virtualmin is seeing an SSL Certificate for "host.domain.com" added to a Virtual Server named "domain.com", which would be a mismatch.
If you only want that SSL Certificate for logging into Virtualmin, and not for a Virtual Server -- you could disable the "SSL website enabled" feature for that domain.
Submitted by JCFDATA on Tue, 11/29/2011 - 20:19 Pro Licensee Comment #6
Perfect I will try that.
Submitted by JCFDATA on Wed, 11/30/2011 - 15:05 Pro Licensee Comment #7
Thank-you that solved the problem perfectly, I fell silly for not thinking of that :)