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.

cPanel / WHM SSL login issue

Discussion in 'General Discussion' started by compunet2, Feb 2, 2007.

  1. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    I just purchased a SSL certificate from Xramp, and installed it into my server. The site I'm using is hostname.mydomain.com. When I go to https://hostname.mydomain.com, everything works fine, it pulls up the default Apache page. However, when I do https://hostname.mydomain.com:2087 I get:
    There is a problem with this website's security certificate.


    The security certificate presented by this website was not issued by a trusted certificate authority.

    Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
    We recommend that you close this webpage and do not continue to this website.
    Click here to close this webpage.
    Continue to this website (not recommended).
    More information


    If you arrived at this page by clicking a link, check the website address in the address bar to be sure that it is the address you were expecting.
    When going to a website with an address such as https://example.com, try adding the 'www' to the address, https://www.example.com.
    If you choose to ignore this error and continue, do not enter private information into the website.

    For more information, see "Certificate Errors" in Internet Explorer Help.
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    You need to do Change Server Certificates as well, and then assign the certificate you installed earlier for use by WHM.
     
  3. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    Well, I just tried that, and it seems to have made no difference.... I even tried deleteing the SSL, running change cert, then reinstalling the ssl, and still no change.
     
  4. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    I think you may need to restart the cpanel service too (so that WHM can restart with the new cert)
    Code:
    service cpanel restart
     
  5. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    Tried that, even tried rebooting the server, but no dice....
     
  6. dansonamission

    Joined:
    Jan 12, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I have excatly the same problem, i have also tried all of the above!!
     
  7. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    I finally found the answer. After you do the above (install the SSL through cPanel, change server cert, etc.)

    Take /usr/local/cpanel/etc/mycpanel.pem, remove the contents, and replace it with the certificate, the complete chain for the cabundle, and the key ( in that order ).

    Then run /usr/local/cpanel/startup

    All should work now. If not try a "service cpanel stop", then "service cpanel start"
     
  8. dansonamission

    Joined:
    Jan 12, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Please can u post an example of what the mycpanel.pem file should look like.

    Dont worry ill copy whats already in there, oop!
     
    #8 dansonamission, Feb 7, 2007
    Last edited: Feb 7, 2007
  9. dansonamission

    Joined:
    Jan 12, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    thanks a million that work first time! :)
     
Loading...

Share This Page