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 3 of 7
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 7
  • Next
hotbed
Posts: 1
Joined: Wed May 22, 2019 5:13 am

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

Post by hotbed » Wed May 22, 2019 5:45 am

I run debian with nginx and to fix this I went to:

/home/admin/conf/web/domain.com.nginx.conf

and deleted this line (can't remember if I personally added it to force https on my server domain)

Code: Select all

return         301 https://domain.com;
Then tried to reinstall lets's encrypt again (previously tried unchecking it then checking it from the control panel). And it worked! SSL for the control panel is back, haven't tested for exim and dovecot as yet. Deleting the lso worked for ssl on user account domains updated with v-update-letsencrypt-ssl (let's encrypt never deleted so hopefully it should work with the cron job)

If you use apache I suggest you configure your htaccess file and see if that works. Given that someone had an issue with cloudflare forcing https maybe auto-updating isn't working that well and Let's Encrypt can't communicate to renew your certificate because you're forcing https which you don't have.

Here's to the next three months.
Top

compiz
Posts: 29
Joined: Sat Jul 07, 2018 1:26 pm
Contact:
Contact compiz
Website

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

Post by compiz » Fri May 24, 2019 3:18 am

I am having the same problem in my server as well and I don't have the return 301 line in my /conf
Top

Mariop
Posts: 7
Joined: Fri Jun 27, 2014 7:05 pm

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

Post by Mariop » Thu Jun 06, 2019 4:59 pm

Colleagues, did not appear new information?
Top

positiv
Posts: 2
Joined: Fri Nov 16, 2018 4:49 pm

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

Post by positiv » 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.
Top

Melih
Posts: 5
Joined: Fri Jan 06, 2017 8:32 am

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

Post by Melih » Tue Jun 11, 2019 11:13 pm

I using CF and i had this problem too.

You can also try >>> viewtopic.php?f=11&t=18593&start=10#p77111
Top

SerratedMind
Posts: 1
Joined: Thu Jun 13, 2019 12:38 pm

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

Post by SerratedMind » Thu Jun 13, 2019 12:42 pm

All given fixes did not work for my servers. The only thing that did work was removing any configuration that was forcing https for each site. This was the case for both nginx+php-fpm and only apache2. Hopefully this is useful for someone else as well.
Top

zumi
Posts: 4
Joined: Tue Jul 09, 2019 9:13 am

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

Post by zumi » Tue Jul 09, 2019 9:42 am

Hello!

Any fix found yet?
Both my Vesta servers are experiencing this same issue. I've waited for a update to fix this problem but the latest update didn't help at all.
I've now tried several fixes that people has suggested on the forums. Nothing has helped so far.

This issue is driving me crazy as I've waited so long for a fix but nothing has changed. Now I have 3 domains waiting for installation but they need also Let's Encrypt so I can't continue
Top

zumi
Posts: 4
Joined: Tue Jul 09, 2019 9:13 am

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

Post by zumi » Mon Jul 15, 2019 11:22 pm

Any update?
Top

DuronBR
Posts: 14
Joined: Tue Jul 16, 2019 12:36 pm

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

Post by DuronBR » Tue Jul 16, 2019 1:11 pm

I was able to resolve after deleting invalid DNS records.
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 Jul 24, 2019 3:51 am

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'm having the same issue with 3 VPS running VestaCP + CloudFlare!
After trying most of all the suggestions from here, this one was the one that helped me out!
Just annoyed by the fact that this is a toooo long manual process!
Is there any suggestion on how to automate this?
Top


Post Reply
  • Print view

63 posts
  • Page 3 of 7
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 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