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 5 of 7
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next
davidgreams
Posts: 3
Joined: Tue Oct 08, 2019 9:36 pm

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

Post by davidgreams » Tue Oct 08, 2019 9:58 pm

Very excited about this! I am on 0.2.5 and appears to have successfully registered a v2 account key. Cert is setup to the v2 account key, is a wildcard, but everytime I hit issue it says (see below). Using Google domains, I have deleted the old challenge TXT and re-added it as specified, but it continues to fail each time. Traditionally it has worked within just a few seconds of the change on Google Domains. I'll try again later but so far no luck :(
  • Please add the TXT records to the domains, and retry again.
    Please check log file for more details: /tmp/acme/LE-ACME2-DOMAIN-Wildcard1/acme_issuecert.log
Top

rogeriotaques
Posts: 4
Joined: Tue Apr 03, 2018 4:11 pm

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

Post by rogeriotaques » Wed Oct 09, 2019 4:07 am

m0ze wrote: ↑
Fri May 17, 2019 1:07 am
Faced the same problem today, after several attempts and two reinstalls I've fixed this error by disabling two options for my domain on CloudFlare account: "force HTTPS" and "fix HTTP" (later I've tested this steps for two other domains - all the same things). Maybe this will help someone.
The only way I managed to fix the issue was following those steps.

Additionally, if you have multiple domains (such as me) parked alongside your main domain (and also configured using Cloudflare), all the domains settings from Cloudflare should be not forcing the HTTPS and fixing the HTTP. Otherwise, it might fail.
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 » Sat Oct 12, 2019 8:14 pm

I can't add alias with ssl to domain. Sometimes ı get the same error without alias. You get 400 error but if you write this command

Code: Select all

v-list-web-domain-ssl user domain.com
to ssh terminal you will probably see ssl codes. Now you can copy and paste it on vestapanel interface by manuel. it works for me. Also I suggest you that dont create domain with ssl in beginning. You can add ssl after you add domain 5 minutes.
Top

adrijanx
Posts: 4
Joined: Sat Oct 12, 2019 10:37 pm

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

Post by adrijanx » Sat Oct 12, 2019 10:45 pm

I faced this issue today and found the solution which was working for me.


Debian, Ubuntu & CentOs:

Code: Select all

$ wget https://dl.eff.org/certbot-auto
$ sudo mv certbot-auto /usr/local/bin/certbot-auto
$ sudo chown root /usr/local/bin/certbot-auto
$ sudo chmod 0755 /usr/local/bin/certbot-auto
Top

Danielru
Posts: 6
Joined: Wed Mar 12, 2014 4:34 pm

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

Post by Danielru » Mon Oct 14, 2019 12:01 pm

Ubuntu 18.04 - Both of the above methods do not work.
Top

nextgi
Posts: 21
Joined: Sun Apr 08, 2018 6:04 pm

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

Post by nextgi » Sat Nov 02, 2019 9:27 pm

Well, seems a bit odd. I am receiving the same issue as described by OP on a fresh install of VestaCP, today. Here is what LetsEncrypt is returning

Code: Select all

{
  "type": "urn:ietf:params:acme:error:malformed",
  "detail": "Unable to update challenge :: authorization must be pending",
  "status": 400
}
I am trying to debug `v-add-letsencrypt-domain` but there isn't clear documentation in the script.
Top

GoodZon
Posts: 2
Joined: Sat May 06, 2017 5:27 pm

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

Post by GoodZon » Sat Nov 02, 2019 10:55 pm

Was the same problem. I have Error: Let's Encrypt validation status 400. Problem was that vesta when you create domain, by default put some alias like www.some-domain.com If this alias isn`t in DNS records, you will receive error 400 when try to activate Lets Encrypt Support SSL certificate.
Top

kenneth
Posts: 18
Joined: Wed Sep 16, 2015 8:03 pm

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

Post by kenneth » Mon Nov 04, 2019 9:59 am

In case someone hasn't solved their issue with LE 400 status code, I managed to solve mine with this.

Code: Select all

wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/bin/v-add-letsencrypt-domain -O $VESTA/bin/v-add-letsencrypt-domain
wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/bin/v-add-letsencrypt-user 1 -O $VESTA/bin/v-add-letsencrypt-user
chmod +x $VESTA/bin/v-add-letsencrypt-domain
chmod +x $VESTA/bin/v-add-letsencrypt-user
Remember to backup files before modifying or replacing anything.
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 Nov 12, 2019 11:03 am

Same issue for me as well. Ubuntu 18.10. Moving domains across from another server. Domains already had LE set up on the old server, so to create a new one I added a new sub-domain. This URL works fine (what I'm seeing in the log files);

http://site.net/.well-known/acme-challe ... NelQPE6i1M

....and the log file looks ok as well:
2600:1f14:804:fd00:312d:4aad:dca:87f1 - - [12/Nov/2019:09:33:07 +0000] "GET /.well-known/acme-challenge/LMoEOieTpArq3vrDVYUrsBfQqHzBmHb49NelQPE6i1M HTTP/1.1" 404 735 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
I'm not sure what else to try :/
Top

coolwebs
Posts: 3
Joined: Sat Jan 12, 2019 12:23 pm

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

Post by coolwebs » Thu Nov 21, 2019 1:57 pm

positiv wrote: ↑
Fri Jun 07, 2019 9:40 am
What worked for me:

In Cloudflare > Crypto > SSL set to OFF & Always use HTTPS set to OFF
/usr/local/vesta/bin/v-add-letsencrypt-domain user domain > Success!
In Vesta CP > User > Rebuild Web
Wait 60 seconds.
Return CF settings to previous setting.
I just wanted to point out that I also found that this was the only solution that worked for me as I use CF to manage my DNS. An additional step I had to take was to disable the proxy settings and just use DNS settings (make orange cloud go grey in CF) whilst I ran the script in terminal.

Then turn the SSL back on in CF and also reactivate the proxies again and it worked fine for me. Such a relief!
However, tedious operating with many domain names I manage. Here's to the next three months...
Top


Post Reply
  • Print view

63 posts
  • Page 5 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