Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Removing shared certificate

Discussion in 'Security' started by MrL22, Jul 30, 2018.

  1. MrL22

    MrL22 Active Member

    Joined:
    Jul 11, 2003
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    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
     
  2. MrL22

    MrL22 Active Member

    Joined:
    Jul 11, 2003
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Tamworth, United Kingdom
    Sorry, I believe what I have done is clicked "Make Primary" and now all non SSL sites get this website when visiting the HTTPS for their domain.
     
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,194
    Likes Received:
    159
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice