In Progress CPANEL-34969 - cPanel >> Email Accounts >> Manage >> Connect Devices page gives wrong information for the "Non-SSL Settings" section

kmrinmoy07

Member
Nov 18, 2020
21
2
3
India
cPanel Access Level
Root Administrator
Hi,
I have two mail account in my cPanel, one for my domain like [email protected] and one for my subdomain like [email protected]. The mail host for my main domain is mail.domain.com and it has AUTOSSL but the hostname for my subdomain mail- mail.subdomain.domain.com doesn't has AUTOSSL and rather has subdomain.domain.com as the hostname with AutoSSL but I need to use mail.subdomain.domain.com with SSL. Can anyone please help
 
Last edited by a moderator:

WasChristine

Technical Analyst
Aug 10, 2018
57
11
83
Houston, TX
cPanel Access Level
Root Administrator
Hello,

but the hostname for my subdomain mail- mail.subdomain.domain.com doesn't has AUTOSSL and rather has subdomain.domain.com as the hostname with AutoSSL but I need to use mail.subdomain.domain.com with SSL.
It seems as if this subdomain was skipped in AutoSSL's runs. Does this subdomain mention that it is covered when you execute AutoSSL for it? You could use this here, but replace domain.tld with your subdomain:

Code:
/usr/local/cpanel/bin/autossl_check --user=$(/scripts/whoowns domain.tld)
This will give you the entire AutoSSL output for the account, though we are really only looking for whether or not the mail subdomain is referenced as "covered". If not, then you should at least receive information on why that is the case.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
If any domain or subdomain is missing that an account owns, the AutoSSL tools will try and increase coverage for it if possible. The AutoSSL run that @cPanelChristine provided above would give you useful output. I would expect one of two things to happen with that output - either the subdomain doesn't show up at all in the output, indicating a problem with the domain on the server, or the subdomain is listed but shows an error, likely related to DNS.

Can you try running that and see what the full AutoSSL log shows?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
Thanks for the confirmation. You should also be able to see the SSL listed in WHM >> Manage SSL Hosts, if that is correctly installed and working.

Are you seeing an error in a mail client at this point? Without revealing any sensitive information, can you let me know the specific error you're receiving and where you see that?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
That's interesting, as I would expect that to be in the list with the main username and the rest of the domains.

It might be best to put in a ticket to have our team check this out and see why that isn't being issued. If you do submit a ticket, can you post the number here so I can be sure to update the thread once the issue is resolved?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
You get bonus points for marking out the domain details in orange :D

On a test system, when I create a test subdomain I get the port 80 vhost setup in Apache. I also get an entry added to WHM >> Manage SSL Hosts immediately, although it has a self-signed certificate for a few minutes until an AutoSSL certificate has a chance to be issued. Mine did automatically include the www.sub.domain.com domain in the Manage SSL Hosts page.

Once the AutoSSL certificate was issued, it included both the sub.domain.com and www.sub.domain.com.

I don't see a "mail" subdomain created automatically for the subdomain on my end. Is that something you've added to the server's configuration? If so, can you let me know how you added the additional mail subdomain?
 

kmrinmoy07

Member
Nov 18, 2020
21
2
3
India
cPanel Access Level
Root Administrator
I am also getting the same result as you have told -
Mine did automatically include the www.sub.domain.com domain in the Manage SSL Hosts page.

Once the AutoSSL certificate was issued, it included both the sub.domain.com and www.sub.domain.com.

AutoSSL included both the www.sub.domain.com and sub.domain.com in my system too. But I have created a mail account with my subdomain and cPanel is providing sub.domain.com as the host name for SSL/TLS host for my email account and also provided mail.sub.domain.com as Non-Secured host. But now I want to install AutoSSL to mail.sub.domain.com so that I can use different host for my subdomain and mail account, due to some DNS thing
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
I did more testing with this on my end and it looks like that is an issue with the interface as the mail.sub.domain.com domain doesn't get setup anywhere that it could be used for email or an SSL. I've opened case CPANEL-34969 to let out developers know about this, but for now it would be best to just use sub.domain.com for any connection to the server.
 

kmrinmoy07

Member
Nov 18, 2020
21
2
3
India
cPanel Access Level
Root Administrator
Okay thanks for the effort to solve this problem by opening a case. Anyways I have moved my emails out of cPanel to dedicated email hosting as my emails were also landing on spam folder
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
I'm not sure there's really going to be "updates" for this type of case. They will just end up changing the wording or layout of that specific page so the invalid information isn't present, but that doesn't change my earlier answers about not trying to use the additional "www" domain to connect.