The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Manage SSL Hosts

Discussion in 'General Discussion' started by theoxgr, Mar 16, 2016.

  1. theoxgr

    theoxgr Member

    Joined:
    Oct 3, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece, Thessaloniki
    cPanel Access Level:
    Root Administrator
    i have by mistake clicked on the "Make primary" on one of my SSL certificates.

    is there a way to remove it? i tried to remove the SSL that i made primary but then the cpanel made the next one primary. is there a way to remove the primary? i dont want to have any primary domain on ssl.

    i have attached a screenshot of my Manage SSL Hosts
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    There's always a primary certificate for an IP address. Typically, it's the first SSL certificate you install on the IP address (The first one that appears in the Apache configuration file). There's an answer to this question on our SSL FAQ document:

    SSL FAQ and Troubleshooting - Documentation - cPanel Documentation.

    Thank you.
     
  3. theoxgr

    theoxgr Member

    Joined:
    Oct 3, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece, Thessaloniki
    cPanel Access Level:
    Root Administrator
    so what do i have to do, to remove the certificate from the IP address?

    right now i see on google wrong results/domains leading to my primary domain! i need to fix this

    check the screenshot attached:
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You will need to install a self-signed certificate for the individual domain name, or delete any SSL certificates installed under the shared IP addresses. This is one of the caveats of using SNI functionality.

    Thank you.
     
  5. theoxgr

    theoxgr Member

    Joined:
    Oct 3, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece, Thessaloniki
    cPanel Access Level:
    Root Administrator
    so if i delete all the SSL certificates, the problem will be solved?

    and after that, if install them again one by one. there will be NO primary ssl assigned on the ip?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    No, there's always going to be a default SSL certificate for a shared IP address. This is the case even with a lack of a "Primary" certificate listed in Web Host Manager. It will use the first SSL VirtualHost listed in the Apache configuration file. The workaround is to install a self-signed certificate for each domain name, or to move the account to it's own IP address. The other solution is listed in the URL from my earlier response.

    Thank you.
     
  7. theoxgr

    theoxgr Member

    Joined:
    Oct 3, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece, Thessaloniki
    cPanel Access Level:
    Root Administrator
    i am really confused :confused: i really need help on this one!

    i need to make my server run like it was before with no domains being messed up due to the ssl primary ip thing.

    can you help me please michael? i would really appreciate it
     
  8. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    46
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    you need only create a self signed certificate and make it primary in ssl host
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The easiest way to address the issue is to install a free self-signed certificate for the domain name in question, or to change the account's IP address to a dedicated IP address. This will ensure it loads it's own content via SSL, instead of the content from another account.

    Thank you.
     
  10. theoxgr

    theoxgr Member

    Joined:
    Oct 3, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece, Thessaloniki
    cPanel Access Level:
    Root Administrator
    i bought a new domain name and i also got an SSL for it. and i made it primary :) so the wrong urls are now gone!
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page