Both and with SSL

user1032531 asked:

I obtained a free CA certificate from

I added the domain name, and in the control panel, it shows under SSL/TLS Server, and under Domain Validations.

I configured Apache (running on Centos) per the instructions, and can access without a “Untrusted Connection” warning, but when accessing, I get the warning.

How can I either rewrite to, or configure the certificate to also work with

My answer:

You were meant to obtain an SSL certificate for, not

Add subdomain in StartSSL certificates wizard

When you do this, StartSSL will give you a certificate that works for both hostnames.

Ready to create certificate

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.