Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a site for which i purchased SSL cert and installed.

And it was working fine, I also have a subdomain with which was not on SSL.

Both and are on same IP address.

At later we decided to put SSL only on and then i configured SSL with and it worked fine,

Now the issue is that Google is indexing my site as and when users hits the web , Invalid security warning is issued and when user allow security issue they are shown my contents.

Note: I have my SSL configuration files in /etc/httpd/conf.d/ssl.conf

The contents of the ssl.conf are below.

NOTE: I tried solutions in .httaccess but none of those worked. Like redirecting 301 redirects etc

share|improve this question
It's not your ssl.conf, but more likely your httpd.conf, where you have some sort of misconfiguration. – NickW Oct 23 '13 at 15:41
The user can't be redirected until after they've connected to the site. They won't connect to the site because the SSL certificate on the server is no longer for You'll have to wait for google to reindex the site without https, or maybe the Webmaster Tools can help you remove the https url (but may not get the http url in its place) – DerfK Oct 23 '13 at 16:47

3 Answers 3

Since the two domains are under the same IP address you will need a SAN (multi domain) certificate. Issue the cert for and then add in the SAN field and it will work.

share|improve this answer

You should configure your server to permanently redirect SSL (HTTPS) requests for to HTTP. Google should update its index on the next pass. This will also redirect users if they accept the certificate.

Make sure your configuration at Google is for On the Google site you can request a rescan of your site which should help resolve the issue faster.

On the certificate side, you could get your certificate reissued with as an alias. This would resolve the mismatched certificate issue.

share|improve this answer

I had a similar problem and I solved it by giving each site its own IP address. That is, would have one IP address, and would have another.

share|improve this answer
Please can you help me, how can i give different IP address for it? – Asghar Oct 24 '13 at 8:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.