Skip to main content

Let's Encrypt plugin on cpanel 120

Comments

2 comments

  • cPRex Jurassic Moderator

    Hey there!  That's odd, as Let's Encrypt has been the default for some time so you shouldn't need to install it.  Does LE show up again if you run a forced update with "/scripts/upcp --force" ?

    1
  • hoomanxx

    Hello.

    Thank you for your guidance. I leave the solution here for those who have the same problem as me.

    After doing the forced update, I received the following error in the SSL section:

    Failed to load information for the AutoSSL module “LetsEncrypt”: Couldn't open /root/.cpanel/letsencrypt_tos_cache: No such file or directory at /var/cpanel/perl/Cpanel/SSL/Auto/Provider/LetsEncrypt/ToSCache.pm line 114.
     at /usr/local/cpanel/Cpanel/SSL/Auto.pm line 99.
        Cpanel::SSL::Auto::__ANON__(__CPANEL_HIDDEN__...) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 121
        Try::Tiny::try(CODE(0x1a4bd78), Try::Tiny::Catch=REF(0x114fbe0)) called at /usr/local/cpanel/Cpanel/SSL/Auto.pm line 100
        Cpanel::SSL::Auto::get_all_provider_info() called at whostmgr/bin/whostmgr12.pl line 650
        main::autossl("autossl") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 364
        Whostmgr::Dispatch::_do_call("autossl", HASH(0x1944ae8), HASH(0x1944d28)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 176
        Whostmgr::Dispatch::dispatch("autossl", 1, ARRAY(0x1944c80)) called at whostmgr/bin/whostmgr12.pl line 221

    The problem was solved simply by creating the letsencrypt_tos_cache:

    touch /root/.cpanel/letsencrypt_tos_cache

    And finally install Let’s Encrypt from whm or ssh:

    /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider

    Good luck.

     

    0

Please sign in to leave a comment.