Drumrocker365

Well-Known Member
Apr 15, 2014
72
1
8
cPanel Access Level
Root Administrator
Hey guys,

So, my cPanel is currently hosted at https://cpanel.<mydomain>.com:2083, and I am about to have my first re seller buy from me. He wants his clients to be able to go to https://cpanel.<hisdomain>.com:2083 to access my panel. Trouble is, I tried a CNAME and it works perfectly, except it's using my SSL certificate, therefore throwing up an SSL error. I also tried an iframe on his site to point to mine, but when you log in it's plain HTML and no style. Is what I'm trying to do even possible?

Thanks,
Christian

UPDATE: Also tried A record, did same thing as CNAME
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Drumrocker365,

Unfortunately, cPanel services (WHM, cPanel and Webmail) can only have 1 certificate at this time, which means that only your hostname certificate is able to be used.

In 11.48, we did introduce the option for other services (dovecot/courier, exim) to have SSL certificates via SNI support. This is mentioned in the feature request on the service SSL certificates:

SSL certificate per domain on all services | cPanel Feature Requests

At this time, we do not yet have cpsrvd and the cPanel services set to allow multiple certificate hostnames. This means that it isn't possible by default to allow multiple certificates for cPanel access on port 2083. Now, if you use https://cpanel.domain.com without the port, this would be on port 443 (https) and should allow an SSL if that exists on the domain name to function due to going through Apache instead of cpsrvd for that connection, although additional configuration would be required to use another SSL in place of the one at these locations that would be hard-coded into /usr/local/apache/conf/httpd.conf file:

Code:
            SSLCertificateFile /var/cpanel/ssl/cpanel/mycpanel.pem
        SSLCertificateKeyFile /var/cpanel/ssl/cpanel/mycpanel.pem
        SSLCertificateChainFile /var/cpanel/ssl/cpanel/mycpanel.pem
Thanks!