Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mobile site domain SSL certificate mismatch

Discussion in 'Security' started by nivekau, May 19, 2018.

  1. nivekau

    nivekau Active Member

    Joined:
    Jul 22, 2011
    Messages:
    35
    Likes Received:
    2
    Trophy Points:
    58
    I have a cpanel SSL certificate installed on a domain and it works fine. I have now created a mobile sub domain ( mobile.mydomain ) but browsers are reporting the connection is not secure - this is the message I get;

    mobile.mydomain.com.au uses an invalid security certificate. The certificate is not trusted because it is self-signed. Error code: SEC_ERROR_UNKNOWN_ISSUER

    How to I update the SSL certificate to cover the subdomain?

    If I go into "Manage SSL Hosts" in WHM, the 'mobile' subdomain is not listed (although all other variants of the domain are listed with a green padlock symbol)
     
  2. Babene7

    Babene7 Member

    Joined:
    Apr 13, 2017
    Messages:
    12
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Uruguay
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you using AutoSSL for this? If so, login as root to WHM, go to Manage AutoSSL and click on the check button for your user. The certificate should be updated in 10 minutes or so and will now include your new subdomain. Keep an eye on the Logs and at the Pending Queue just in case something fails during the process.

    If you're using a paid certificate, then you will need to buy another one for your subdomain, though a wildcard certificate will be better if you plan to use many subdomains.
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,785
    Likes Received:
    82
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,
    cPanel has done this brilliantly with AutoSSL and Comodo tie up. I don't there is need to get wildcard SSL when you get full domain SSL for free from Comodo.
    AutoSSL will generate SSL for all the domains, subdomains, and Addon domains for the account hosted on cPanel server..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,342
    Likes Received:
    89
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @nivekau

    As suggested, re-running the AutoSSL process should identify that the new subdomain lacks coverage and as a result it should request a new certificate. Since this occurred on Saturday can you let us know if you're still having trouble with this?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. nivekau

    nivekau Active Member

    Joined:
    Jul 22, 2011
    Messages:
    35
    Likes Received:
    2
    Trophy Points:
    58
    This worked (after I disabled the auth requirement in .htaccess) - many thanks!

    PS. Sorry about the slow response!
     
  6. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,342
    Likes Received:
    89
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @nivekau

    Great! Thank you for letting us know, I'm glad to hear the certificate was able to be issued!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice