WHM 104.0.3 - Error AUTOSSL
Help-me! Our AUTOSSL doesn't work! I tried to run the command via SSH /scripts/install_lets_encrypt_autossl_provider
But I get the error below:
Cpanel::Exception::HTTP::Server/(XID up9kg4) The response to the HTTP (Hypertext Transfer Protocol) “GET” request from “https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo” indicated an error (403, Forbidden): <!DOCTYPE html>
<!--[if lt IE 7…
at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 132.
Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x299af50), "GET", "https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-pl"..., HASH(0x215fec8)) called at (eval 6) line 6
HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x299af50), "https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-pl"...) called at /usr/local/cpanel/Cpanel/Plugins/Repo.pm line 108
Cpanel::Plugins::Repo::get_config() called at /usr/local/cpanel/Cpanel/Plugins/Repo.pm line 60
Cpanel::Plugins::Repo::install() called at /usr/local/cpanel/Cpanel/Plugins.pm line 155
Cpanel::Plugins::install_or_upgrade_plugins("cpanel-letsencrypt-v2") called at /scripts/install_lets_encrypt_autossl_provider line 19
scripts::install_lets_encrypt_autossl_provider::run() called at /scripts/install_lets_encrypt_autossl_provider line 16
-
Hey there! Just to confirm, do any other updates work on the machine? Does a basic "yum update" command work well?
0 -
Yes, the command works normally.
0 -
Are you actually using WHM 104? Are you able to update the system at all to see if that helps to get things working?
0 -
I got WHM auto-update stuck because I have webmail customizations. No other alternative? Shouldn't it work on my version?
0 -
My only problem is with AutoSSL which stopped working about 3 days ago. So I had the idea of running the command to change Sectigo to Lets Encrypt. And I get the error I gave at the beginning of the call.
0 -
Do you possibly have any firewalls on the machine that could be causing an issue? I'm able to normally access the repo file at https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo with this command:
wget https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo” ind
What happens when you try and run that?
0 -
I executed your command and this appeared on the screen:
wget https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo
--2024-09-06 14:52:44-- https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo
Resolving securedownloads.cpanel.net (securedownloads.cpanel.net)... 172.64.152.231, 104.18.35.25
Connecting to securedownloads.cpanel.net (securedownloads.cpanel.net)|172.64.152.231|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: ‘cpanel-plugins.repo’[ <=> ] 241 --.-K/s in 0s
2024-09-06 14:52:45 (14.4 MB/s) - ‘cpanel-plugins.repo’ saved [241]
As a firewall I use Imunify 360.0 -
Alright, one more thing that would be worth trying is clearing the Yum cache - it doesn't make sense to me that Get manually works......but then you see an error from Yum saying it doesn't. Can you run these and then try the Let's Encrypt install again?
yum clean all
yum makecache
yum update/scripts/install_lets_encrypt_autossl_provider
If that doesn't work, it would likely be best to create a ticket so the server can be examined directly.
0 -
Hello, I'd like to corroborate that I am also unable to run the installation script, and I too am able to directly wget the file. My cpanel comes from an intermediary so my ticket would not be filed here but putting my name in the open in case I can provide any information that can lead to a resolution.
0 -
What is your cPanel version?
0 -
Here we solved the problem by updating Cpanel to version 110.0.39 where Lets Encrypt is default.
After that everything is done automatically as before. The best way to solve it is to update, there is no other way.0 -
Top corner shows v94.0.25, so I'm evidently a bit behind, but clicking the update only shows "You will be upgrading to the latest 11.94 build." so I guess I have to do a bit more manually because the update stops at 94 for some reason.
0 -
First of all, I recommend a full backup of your entire server, as you are quite late in the update. And ask your host team to update you to the highest version possible. I tried to do it manually here on version 104 and it didn't work, just updating everything.
0
Please sign in to leave a comment.
Comments
13 comments