Problem installing Let's Encrypt plugin

netco

Registered
Oct 25, 2020
4
0
1
Afghanistan
cPanel Access Level
Root Administrator
Hello

I have the following problem when installing the Let's Encrypt plugin

Only downloaded but not installed

Code:
[root@server ~]# /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* EA4: 178.18.193.52
* cpanel-plugins: 178.18.193.52
* cloudlinux-x86_64-server-7: cl-mirror.natro.com
* epel: mirror.earthlink.iq
Resolving Dependencies
--> Running transaction check
---> Package cpanel-letsencrypt-v2.noarch 0:1.04-1.1.1.cpanel will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package                 Arch     Version                Repository        Size
================================================================================
Installing:
cpanel-letsencrypt-v2   noarch   1.04-1.1.1.cpanel      cpanel-plugins    33 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 33 k
Installed size: 89 k
Background downloading packages, then exiting:
exiting because "Download Only" specified
[root@server ~]#
Please help me
 
Last edited by a moderator:

netco

Registered
Oct 25, 2020
4
0
1
Afghanistan
cPanel Access Level
Root Administrator
thank you.

But After going to WHM >> Manage AutoSSL There is no option Let’s Encrypt under AutoSSL Providers.
And I get the following error at the top of the page:

A warning occurred while processing this directive. [show] [close]

The following error after clicking on show:

Code:
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 97.
    Cpanel::SSL::Auto::__ANON__(__CPANEL_HIDDEN__...) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 121
    Try::Tiny::try(CODE(0x285ee00), Try::Tiny::Catch=REF(0x2864f00)) called at /usr/local/cpanel/Cpanel/SSL/Auto.pm line 98
    Cpanel::SSL::Auto::get_all_provider_info() called at whostmgr/bin/whostmgr12.pl line 647
    main::autossl("autossl") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 366
    Whostmgr::Dispatch::_do_call("autossl", HASH(0x2862a98), HASH(0x2862cd8)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 178
    Whostmgr::Dispatch::dispatch("autossl", 1, ARRAY(0x2862c30)) called at whostmgr/bin/whostmgr12.pl line 221

Please help me
 

netco

Registered
Oct 25, 2020
4
0
1
Afghanistan
cPanel Access Level
Root Administrator
Thank you for your Guidance.

in /root/.cpanel There was no letsencrypt_tos_cache file.
I created the file with the following command and the problem was solved:

Code:
touch /root/.cpanel/letsencrypt_tos_cache
It works now !!! thanks !!