Apache SSL Issues

I am not sure where the issues lies with this situation. I have installed an SSL using the virtualmin manage ssl page. I then copied the ssl to webmin and it works perfectly. However the ssl is not recognized by apache. The SSL is a wildcard ssl now, but before that I had a normal ssl installed, and it still didn't work correctly in Apache. The domains that have issues all follow this example: shared1-west.izoox.net. Do you think the '-' could be the problem. If so, is there a solution?

Status: 
Closed (fixed)

Comments

The dash shouldn't be an issue.

What do you mean by the cert is not recognized by Apache exactly? What error message are you getting?

When I visit the secure site in apache it looks like it is pulling some self signed cert. But the cert that I copied using the copy to webmin button works great in virtualmin.

Do you have a separate IP address for each of your domains that are using SSL?

Well this is the only domain on that IP that has an ssl. Does it have to have a completely separate ip?

No, it is OK as long as there is only one SSL domain per IP.

What is the actual domain name in question? I'd like to try connecting to it myself ..

Looks like apache is still using the self-signed cert. Perhaps apache needs to be restarted?

I'd have to login to your system myself to see what is going wrong here.

I just sent remote login privileges.

Thanks .. I fixed the problem. For reasons totally unknown to me, Apache was using the SSL cert defined in /etc/httpd/conf.d/ssl.conf , and not the cert for your domain!! I commented out the SSL directives from that file, restarted Apache, and it is OK.

I suspect this is a side-effect of having an SSL website on the default shared IP.

Weird, so it's likely a bug in Apache?

Maybe .. or a lack of understanding of how Apache SSL works on my part.

Ha, I'm not sure how likely that is. You are the man. It definitely did it on all my servers that I have setup like this.

Automatically closed -- issue fixed for 2 weeks with no activity.