Skip to main content

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

Comments

20 comments

  • WasChristine
    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: /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.
    0
  • kmrinmoy07
    My subdomain is already covered with AutoSSL and the subdomain including www.subdomain is already covered with SSL but the mail.subdomain.domain.com is not listed.
    0
  • cPRex Jurassic Moderator
    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?
    0
  • kmrinmoy07
    I tried the above command as given by @cPanelChristine but it showed that both my subdomain and domain is having a valid SSL and everything is correct
    0
  • cPRex Jurassic Moderator
    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?
    0
  • kmrinmoy07
    I went to the manage SSL and I found all the domains, subdomain, host where SSL is installed. But I could not find the mail.subdomain.domain.com in the list
    0
  • cPRex Jurassic Moderator
    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?
    0
  • kmrinmoy07
    You can have a look at the screenshot for some more clarification of the manage SSL page. The subdomain is at the upper part and the main domain at the lower. The subdomain has only www.subdomain and subdomain
    0
  • cPRex Jurassic Moderator
    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?
    0
  • kmrinmoy07
    I am also getting the same result as you have told - [QUOTE] Mine did automatically include the 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
    0
  • cPRex Jurassic Moderator
    Thanks for the additional details - I'm doing some more testing with this and I'll update you soon.
    0
  • cPRex Jurassic Moderator
    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.
    0
  • kmrinmoy07
    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
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to come up with a solution that works. I'll be sure to post an update here once we have more details on how they are going to handle the issue.
    0
  • kmrinmoy07
    I will appreciate your update on the issue
    0
  • cPRex Jurassic Moderator
    @kmrinmoy07 - I don't have any specific updates on this yet, but I know our developers have seen the case and are looking into it.
    0
  • kmrinmoy07
    Okay, waiting for some specific updates on it
    0
  • cPRex Jurassic Moderator
    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.
    0
  • kmrinmoy07
    The problem is not only about the wording or invalid information. But the main problem is I am unable to add AutoSSL for mail.sub.domain.com
    0
  • cPRex Jurassic Moderator
    I wouldn't expect that to work as that isn't something that exists normally. There isn't anything in cPanel or the email server that is setup to listen for that subdomain, so there is no place to put that SSL. The invalid information being removed would also keep users from expecting an SSL to work on that subdomain. When a subdomain is created in cPanel we only create the "sub" and "www.sub" domains on the server, so there is no mail record added to the system. The only way I can think of to get that working would be to create the subdomain as a unique cPanel account. For example, if you create a new account in WHM with "sub.test.com" as the domain name, it will setup the following CNAMES automatically: mail 14400 IN CNAME sub.test.com. www 14400 IN CNAME sub.test.com.
    We also create the corresponding entries in the Apache virtual host: ServerName sub.test.com ServerAlias mail.sub.test.com www.sub.test.com
    Having a unique account would get the mail redirects working as well, but I personally think this just adds confusion to the domain's configuration.
    0

Please sign in to leave a comment.