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.

Trusted SSL for shared SSL

Discussion in 'General Discussion' started by stoute, Mar 17, 2014.

  1. stoute

    stoute Member

    Joined:
    Mar 17, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portland, OR
    cPanel Access Level:
    Root Administrator
    I'm probably making this WAY more difficult than it needs to be for my needs but here it goes.

    I have a SSL for /cpanel/whm/webmail and have assigned them successfully so when a user goes to

    domain.com/cpanel it redirects with no error or untrusted warning flag

    however when I go directly to the server using https://server.domain.com/cpanel I receive an SSL connection error.

    When I try to install the ssl using [SSL/TLS >> Install an SSL Certificate on a Domain] I receive an error stating that "server.domain.com" is not managed on this server...

    If I attempt to create the site using the hostname (server.domain.com) I receive an error that the site already exists.

    I no longer have a self signed SSL for the shared IP as it was interfering with the redirect (hostname was populating the ISPs domain rather than the actually assigned hostname).

    Any and all assistance would be extremely helpful.

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    What error message do you receive? Note that certificates for services such as cPanel/WHM/Webmail are managed via:

    "WHM Home » Service Configuration » Manage Service SSL Certificates"

    Installing a certificate using "Install an SSL Certificate on a Domain" is only intended for serving websites with Apache. You would have to enter "nobody" as the username when installing it for your hostname.

    Thank you.
     
  3. stoute

    stoute Member

    Joined:
    Mar 17, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portland, OR
    cPanel Access Level:
    Root Administrator
    It's when I go to the host name directly without the /cpanel/whm/webmail that I get the certificate error. I can't seem to install it on the hostname itself, even when using nobody as the username.

    The error message I receive isn't really much of an error as it is a success message...

    It states that the certificate is already installed and is now ready to use but when you click the link that the message gives you it states a certificate error.

    From Firefox:

    Secure Connection Failed

    An error occurred during a connection to server.domain.com. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.
     
  4. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    For installing SSL certificate on the hostname you should use WHM => Service Configuration => Manage Service SSL Certificates.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature if you want us to take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  6. stoute

    stoute Member

    Joined:
    Mar 17, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portland, OR
    cPanel Access Level:
    Root Administrator
    The resolution was the "main_domain" name was different than the host name. Changing the main domain name to match the hostname will allow the SSL to be installed and used correctly.
     
  7. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Thank you for providing the solution in this thread.
     
Loading...

Share This Page