Removing shared certificate

MrL22

Active Member
Jul 11, 2003
36
1
158
Tamworth, United Kingdom
Hello,

We have a server where we accidentally enabled "Shared SSL Certificate". Now when visiting the HTTPS URL of any website on the main server IP address that has not got their own SSL, the user gets an SSL warning but is then redirected to another customers website.

We are able to change this to another site but can not remove this feature entirely. How do I remove the shared certificate?

Thanks

Richard
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,266
313
Houston
Hi @MrL22

If you're trying to remove the shared SSL you can go to WHM>>SSL/TLS>>Manage SSL Hosts and click disable under Shared SSL Certificate. If you're trying to change the primary SSL host you'd need to select "Make Primary" next to the domain you'd like to be the primary.

Because apache's behavior when attempting to view a site over https that doesn't have an SSL VirtualHost is to display the first VirtualHost in the httpd.conf on that IP which does there really isn't a way to stop this from happening other than to create the SSL VirtualHost either by using a self-signed or a signed SSL.

Thanks!