Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Error: Let's Encrypt validation status 400

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
63 posts
  • Page 6 of 7
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next
Caleb Watson
Posts: 3
Joined: Thu Nov 21, 2019 7:57 pm

Os: CentOS 6x
Web: apache
Re: Error: Let's Encrypt validation status 400
  • Quote

Post by Caleb Watson » Thu Nov 21, 2019 8:39 pm

On CentOS with the same issue, a simple reinstall of the Vesta worked just fine for me.
Top

youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: Error: Let's Encrypt validation status 400
  • Quote

Post by youradds » Fri Nov 22, 2019 7:37 am

For me, because it was a server move - I actually had to do a restore of the user from a backup file, and then it worked fine. I guess it doesn't like you creating a new profile and a new SSL cert.

Cheers

Andy
Top

zooks
Posts: 39
Joined: Mon Aug 10, 2015 3:38 pm
Contact:
Contact zooks
Website Twitter

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: Error: Let's Encrypt validation status 400
  • Quote

Post by zooks » Wed Feb 05, 2020 6:22 pm

This error caused by wrong domains list. IP settings added it automatically with no new line.

Code: Select all

domain.comdomain.com
Top

geek
Posts: 17
Joined: Fri Jun 05, 2015 3:34 pm

Re: Error: Let's Encrypt validation status 400
  • Quote

Post by geek » Tue Feb 18, 2020 2:17 pm

I still have the same problem. Re-installed VESTACP as admin suggested but did not work.
Top

youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: Error: Let's Encrypt validation status 400
  • Quote

Post by youradds » Tue Feb 18, 2020 3:58 pm

What does your error logs for the domain say? You should see a request in the domains /logs/ file (depending on your setup, it will be access.log or error.log). If you see something about the /.well-known then it may give an idea. The quickest way is to just grep for it:

Code: Select all

cd /home/user/web/domains.com/logs
grep -r '/.well-known' .
...and see if it gives any hints.

Cheers

Andy
Top

mlopez
Posts: 21
Joined: Mon Nov 05, 2018 7:26 am
Contact:
Contact mlopez
Website Twitter

Os: CentOS 6x
Web: apache + nginx
Re: Error: Let's Encrypt validation status 400
  • Quote

Post by mlopez » Sun Apr 26, 2020 5:28 pm

desolator wrote: ↑
Thu Jul 25, 2019 5:03 am
Hey,

Am facing some similar issues. Am using vesta with nginx + php-fpm (Centos 7) and am adding the domain in vesta and when i try to generate the letsencrypt ssl it fails.
I removed the www alias and then it works - but it's really important the ssl to cover the www alias as well

Do you have any ideas why this might happen? All steps taken are from vesta interface panel

For DNS provider am using Stackpath so am not facing the Cloudflare crypto issues - a month ago i added a domain with www and it worked fine now it seems something is off with vesta or letsencrypt

Looking forward
Thank you, desolator!! You saved me!
Top

websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

Re: Error: Let's Encrypt validation status 400
  • Quote

Post by websystems » Thu Apr 30, 2020 8:42 am

Debian 9, fresh setup.

Same issue (Error 400) here when trying to add cert for domain that I have just added to the control panel

Altought SSH: v-add-letsencrypt-domain USERNAME DOMAIN created a certificate and enabled SSL in a couple of seconds. Looks like a bug.
Top

alg
Posts: 1
Joined: Thu May 21, 2020 11:27 pm

Os: Debian 6x
Web: apache + nginx
Re: Error: Let's Encrypt validation status 400
  • Quote

Post by alg » Thu May 21, 2020 11:33 pm

Hello,

- Upgrade v-add-letsencrypt-domain with the last version

- delete the olds letsencrypt nginx or apache files in you config
/home/user/web/nginx.mydomain.com.conf_letsencrypt
/home/user/web/snginx.mydomain.com.conf_letsencrypt

- execute the bash script :
v-add-letsencrypt-domain user mydomain.com

Works like a charm for me.

Regards
Top

SanTi
Posts: 39
Joined: Tue Jan 08, 2019 1:23 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Error: Let's Encrypt validation status 400
  • Quote

Post by SanTi » Sun Aug 23, 2020 12:57 pm

I have solved problem. This mproblem may caused several reasons but my problem was so so sooo basic. I fell stupid. Lets encrypt try to access to

Code: Select all

http://<YOUR_DOMAIN>/.well-known/acme-challenge/<TOKEN>


but I used this line at 80 port nginx conf to force https.

Code: Select all

return 301 https://domain.com$request_uri;
so letsenrytpt could not access to that url (http://<YOUR_DOMAIN>/.well-known/acme-challenge/<TOKEN>). I and it is failed. I commented return 301 line then renew certiface without any problem. You can try this also.

From

Code: Select all

return 301 https://domain.com$request_uri;
to

Code: Select all

#return 301 https://domain.com$request_uri;
and renew certificate.
Top

shahalom
Posts: 1
Joined: Wed Sep 23, 2020 7:06 pm

Os: Debian 8x
Web: apache + nginx
Re: Error: Let's Encrypt validation status 400
  • Quote

Post by shahalom » Wed Sep 23, 2020 7:09 pm

I found this video tutorial usefule. https://www.youtube.com/watch?v=T29GPpLbvvs
Top


Post Reply
  • Print view

63 posts
  • Page 6 of 7
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password