stoute

Member
Mar 17, 2014
8
0
1
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!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,241
363
however when I go directly to the server using https://server.domain.com/cpanel I receive an SSL connection error
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.
 

stoute

Member
Mar 17, 2014
8
0
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,241
363
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.
 

stoute

Member
Mar 17, 2014
8
0
1
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.