Eliminate default SSL certificate

Posted by microchasm on Server Fault See other posts from Server Fault or by microchasm
Published on 2010-06-17T16:11:30Z Indexed on 2010/06/17 16:13 UTC
Read the original article Hit count: 253

Filed under:
|

I'm setting up a server for local access. I created a CA and have SSL certs signed and working on other domains.

The problem is I'm trying to create a cert for a domain name that is the same as the host name?

I copied the steps to make the cert for the other domain, but when I create and sign this cert, and modify httpd.conf with the path to the cert and key, the localhost.localdomain cert seems to be taking precedence. In other words, when I view the cert in firefox, it is the localhost.localdomain cert instead of the one I just created.

I looked at ssl.conf, and tried to change the default path to the one issued, and I tried to comment out the VirtualHost, but neither worked.

How can I override the servers default certificate with the one I issued and signed?

Thanks.

© Server Fault or respective owner

Related posts about centos

Related posts about ssl-certificate