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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED AutoSSL Check Error Since Update to WHM 60.0 Build 31

Discussion in 'General Discussion' started by freedomhosting, Jan 7, 2017.

Tags:
  1. freedomhosting

    freedomhosting Registered

    Joined:
    Jan 7, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm getting this issue when running autoSSL cPanel(comodo) (from the logs)...

    3:13:32 AM The system has completed the AutoSSL check for “freedomhostingco”.
    3:13:32 AM Checking websites for “freedomap” …
    3:13:32 AM WARN Use of uninitialized value $_ in string at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 93.
    3:13:32 AM WARN Can't locate object method "catch" via package "1" (perhaps you forgot to load "1"?) at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 92. ...caught at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 178.
    3:13:32 AM All websites owned by “freedomap” have valid SSL certificates.
    3:13:32 AM The system has completed the AutoSSL check for “freedomap”.
    3:13:32 AM Checking websites for “freeio” …
    3:13:32 AM WARN Use of uninitialized value $_ in string at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 93.
    3:13:32 AM WARN Can't locate object method "catch" via package "1" (perhaps you forgot to load "1"?) at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 92. ...caught at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 178.
    3:13:32 AM All websites owned by “freeio” have valid SSL certificates.
    3:13:32 AM The system has completed the AutoSSL check for “freeio”.

    using the following...
    /etc/redhat-release:CentOS Linux release 7.3.1611 (Core)
    /usr/local/cpanel/version:11.60.0.31
    /var/cpanel/envtype:kvm
     
  2. Barry Johnson

    Barry Johnson Registered

    Joined:
    Jan 8, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I'm seeing the following pair in the AutoSSL log on each check:

    WARN Use of uninitialized value $_ in string at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 93.

    WARN Can't locate object method "catch" via package "1" (perhaps you forgot to load "1"?) at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 92. ...caught at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 178.


    The log messages are otherwise the same as what they were before the update.

    I have Let's Encrypt selected and registered.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This shouldn't result in any issues with the AutoSSL certificates, however internal case CPANEL-10672 is open to address the presence of these messages in the AutoSSL logs on systems using cPanel version 60.0.31. I'll update this thread with more information on the status of this case as it becomes available.

    Thank you.
     
  4. James Fu

    James Fu Registered

    Joined:
    Jan 9, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Singapore
    cPanel Access Level:
    Root Administrator
    Hey Michael, I also face the same issue on 60.0.31 while getting certificates from Let's Encrypt. I beg to differ that they don't result in any issues.

    Typically, after AutoSSL obtains a certificate from Let's Encrypt, I am able to then go to the target account's cPanel > Security > SSL/TLS > Install and Manage SSL for your site (HTTPS) > Select a Domain > Autofill by Domain > Install Certificate and that gets the domain's SSL certificates installed. However, since observing this error I get: The certificate could not be installed on the domain “example.com”. error unknown error (please see attached screenshot). The domain is hosted on a dedicated IPv4 address, if that makes any difference.
     

    Attached Files:

  5. Barry Johnson

    Barry Johnson Registered

    Joined:
    Jan 8, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    The latest, Build 34, seems to have resolved the issue for me. Although I never had the need to update a certificate during the time I was seeing the errors.

    With thanks - Barry J.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    We've released a resolution for this issue as part of cPanel version 60.0.34:

    Fixed case CPANEL-10672: Fix backport of Cpanel::SSL::OCSP to include Try::Tiny.

    The full cPanel 60 change log is available at:

    60 Change Log - Change Logs - cPanel Documentation

    Thank you.
     
Loading...

Share This Page