SSL cert is driving me insane

I have a virtual server called I have configured SSL for this website. I have renewed the cert today morning from a vendor. However the virtual server is not picking up the correct SSL cert. It keeps using the old one. Please can you assist? Thanks \|/



Howdy -- one thing that could cause that is if Apache isn't being restarted after adding the new SSL cert.

Since that does normally occur automatically, we may want to verify that there isn't an Apache syntax error.

To do that -- what is the output of this command:

apachectl configtest

no such luck im afraid. see below. If you can take a look i'd appreciate it. thanks much. let me know. [root@web2 aswinr]# /usr/sbin/apachectl configtest Syntax OK [root@web2 aswinr]#


Andrey, I finally figured it out. i have a virtual server and multiple sub-servers. Now the older version of the cert was tied to sub-servers. I am not sure why. Ideally dont all servers and sub-servers share the same certj? Anyway all things good I'm happy. Thanks for your time. \|/

Well, that's a tricky question, the answer is "it depends" :-)

In general, the SSL cert for a Virtual Server and Sub-Server are different.

But they may be the same if the domains listed in the SSL cert are those of the Virtual Server and Sub-Server.

The SSL certs for a Virtual Server and an alias would be the same though.

I'm glad to hear it's working properly for you now!

If you had any other questions, or I can clarify the above better, please feel free to let me know.

I had a wildcard cert that was used by the server and all sub-servers :)

Thanks \|/