I need both www.mysite.com and subdomain.mysite.com to have ssl access
I'm on PLESK/ Media temple Centos5. I have exclusive IP for mysite.com
I purchased two appropriate certificates but only www.mysite.com has ssl access.
When going to https://subdomain.mysite.com I get Error:
subdomain.mysite.com uses an invalid security certificate.The certificate is only valid for the following names: www.mysite.com , mysite.com
(Error code: ssl_error_bad_cert_domain).
On the mydomain folder in plesk I see both certificates but under 'used' column I see 1 for mydomain and 0 for subdomain.mydomain.com
Any help is very appreciated. Thanks!
Best Answer
You can only have an SSL certificate for a single IP address. You will need to give the subdomain a different IP address and a new SSL certificate tuned to that address.
There is also the option of using multiple domains on your certificate, if your CA supports this. Then you'd just create a certificate for all the domains on that IP and use that.
This might confuse some older clients and be viewed as bad style, though.