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!

SOLVED SSL / TLS errors

Discussion in 'Security' started by Raw333, May 7, 2019.

  1. Raw333

    Raw333 Member

    Joined:
    Jan 8, 2019
    Messages:
    8
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Hi to everyone - I'm in process of updating SSL certs with 'Lets Encrypt'. Running into this error... here is log. Any help is appreciated...

    Code:
    Log for the AutoSSL run for “example”: Tuesday, May 7, 2019 3:29:36 PM GMT-0700 (Let’s Encrypt™)
    3:29:36 PM AutoSSL’s configured provider is “Let’s Encrypt™”.
    Checking websites for “example” …
    3:29:36 PM Analyzing “example.com” …
    3:29:36 PM ERROR TLS Status: Defective
    ERROR Defect: NO_SSL: No SSL certificate is installed.
    3:29:36 PM Performing DCV (Domain Control Validation) …
    3:29:36 PM Local HTTP DCV OK: example.com
    Local HTTP DCV OK: www.example.com
    Local HTTP DCV OK: mail.example.com
    Local HTTP DCV OK: cpanel.example.com
    Local HTTP DCV OK: webdisk.example.com
    Local HTTP DCV OK: webmail.example.com
    3:29:36 PM Analyzing “example.com”’s DCV results …
    3:29:36 PM No CAA record added because there is no CAA record from another provider in the DNS for example.com.
    3:29:39 PM “Let’s Encrypt™” HTTP DCV OK: webmail.example.com
    “Let’s Encrypt™” HTTP DCV OK: webdisk.example.com
    “Let’s Encrypt™” HTTP DCV OK: cpanel.example.com
    “Let’s Encrypt™” HTTP DCV OK: mail.example.com
    “Let’s Encrypt™” HTTP DCV OK: www.example.com
    “Let’s Encrypt™” HTTP DCV OK: example.com
    AutoSSL will request a new certificate.
    3:29:39 PM The system will attempt to renew the SSL certificate for the website (example.com: example.com www.example.com mail.example.com webmail.example.com cpanel.example.com webdisk.example.com).
    WARN Undefined subroutine &Cpanel::AcctUtils::Domain::getdomain called at /var/cpanel/perl/Cpanel/SSL/Auto/Provider/LetsEncrypt/RegisteredDomains.pm line 94.
    3:29:39 PM The system has completed the AutoSSL check for “example”
    
     
    #1 Raw333, May 7, 2019
    Last edited by a moderator: May 7, 2019
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,125
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Raw333

    I've seen this behavior occur when the letsencrypt rpm hasn't updated. Could you first run this to find out the version of the package you have:

    Code:
    rpm -qa |grep letsencrypt
    Then run the following to force it to update:

    Code:
    /scripts/install_lets_encrypt_autossl_provider

    And provide the results of both in response?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Raw333

    Raw333 Member

    Joined:
    Jan 8, 2019
    Messages:
    8
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Yes, thank you.

    cpanel-letsencrypt-2.24-1.1.noarch
    [root@vps ~]# ^C
    [root@vps ~]# /scripts/install_lets_encrypt_autossl_provider
    Loaded plugins: fastestmirror, universal-hooks
    Loading mirror speeds from cached hostfile
    * EA4: 208.43.108.66
    * cpanel-addons-production-feed: 208.43.108.66
    * cpanel-plugins: 208.43.108.66
    Resolving Dependencies
    --> Running transaction check
    ---> Package cpanel-letsencrypt.noarch 0:2.24-1.1 will be updated
    ---> Package cpanel-letsencrypt.noarch 0:2.25-1.3 will be an update
    --> Finished Dependency Resolution


    Total download size: 37 k
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Updating : cpanel-letsencrypt-2.25-1.3.noarch 1/2
    Cleanup : cpanel-letsencrypt-2.24-1.1.noarch 2/2

    Verifying : cpanel-letsencrypt-2.25-1.3.noarch 1/2
    Verifying : cpanel-letsencrypt-2.24-1.1.noarch 2/2

    Complete!
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,125
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    So now, you should have cpanel-letsencrypt-2.25-1.3.noarch can you tell me if the AutoSSL process completes without the error?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Raw333

    Raw333 Member

    Joined:
    Jan 8, 2019
    Messages:
    8
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Perfect... First time working from command line too. It worked! All sites are https...

    Thanks so much for your time and efforts.

    Russell
     
    cPanelLauren likes this.
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,125
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Raw333

    I'm really glad to hear that! Thank you for letting us know :)
     
    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