Page 1 of 1

Let's Encrypt finalize bad status 403

Posted: Mon Jan 20, 2025 1:57 pm
by Alex
Hi, I have a server running MyVesta since a year, it's configured to use Let's Encrypt certificate and usually MyVesta Cron always update the certificate once is expired, but this time something went wrong and I can't understand what's wrong due to my small experience in the field.

I tried to fix it following some advise on this forum but without success. I first try to disable SSL for the domain, save it and then try again to activate SSL and Let's Encrypt (on MyVesta domain Panel) but I always get " Let's Encrypt finalize bad status 403".

Please someone can help me to figure out what's going on and how to fix it ?

Thanks in advance

Alex

Re: Let's Encrypt finalize bad status 403

Posted: Mon Jan 20, 2025 2:16 pm
by myVesta
In your SSH, as root, run:

Code: Select all

v-update-myvesta
Maybe it fixes the issue.

Re: Let's Encrypt finalize bad status 403

Posted: Mon Jan 20, 2025 3:04 pm
by Alex
myVesta wrote: Mon Jan 20, 2025 2:16 pm In your SSH, as root, run:

Code: Select all

v-update-myvesta
Maybe it fixes the issue.
Thank you for your answer, I tried to run v-update-myvesta as root but I get "command not found", very strange I guess, even because MyVesta is up and running.


myVesta 0.9.9-0-11
Build date: 30-May-2024
Debian 12.9

Re: Let's Encrypt finalize bad status 403

Posted: Mon Jan 20, 2025 3:25 pm
by myVesta
Try:

Code: Select all

sudo /usr/local/vesta/bin/v-update-myvesta

Re: Let's Encrypt finalize bad status 403

Posted: Mon Jan 20, 2025 3:32 pm
by Alex
myVesta wrote: Mon Jan 20, 2025 3:25 pm Try:

Code: Select all

sudo /usr/local/vesta/bin/v-update-myvesta


I tried running sudo /usr/local/vesta/bin/v-update-myvesta and it runs, then I restart the server and trying again I get a different error "Error: Let's Encrypt validation status 400". It can be related to the problem to run command you suggest ?

Re: Let's Encrypt finalize bad status 403

Posted: Mon Jan 20, 2025 3:39 pm
by myVesta

Code: Select all

tail -n 300 /usr/local/vesta/log/letsencrypt.log
... would probably help you.

Also check viewtopic.php?p=1257#p1257