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 4 of 7
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next
desolator
Posts: 9
Joined: Wed Jan 11, 2017 8:42 am

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

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

desolator
Posts: 9
Joined: Wed Jan 11, 2017 8:42 am

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

Post by desolator » Thu Jul 25, 2019 1:04 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


FIXED - the issue was that i was using a cname for www, i switched to A record and worked like a charm

I hope this might help somebody
Top

Thoros69
Posts: 1
Joined: Wed Jul 31, 2019 4:51 pm

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

Post by Thoros69 » Wed Jul 31, 2019 5:14 pm

Had same problem. Wait 48 hours if you changed nameserver or IP in DNS.
Step 1.
Just delete 'yourdomain.se' in Vestacp. Look so DNS records also are gone.
Step 2.
Use FTP to erease all 'yourdomain.se' in /username/conf/web/ and /username/conf/dns/.
Step 3.
Add 'yourdomain.se' again with letsencrypt option filled. Wait up to 5 minutes.

Should be working for all.

Debian 9
VestaCP nginx + apache2
php-fpm 7.0 - 7.2 - 7.3

PS. I started with PLESK, stable, easier + DNSSEC
(In VestaCP it is not happend for decades....)
PLESK small cost VS VestaCP cost when you need to reinstall every week or month
Top

g0r60n
Posts: 4
Joined: Thu Jul 25, 2019 10:31 am

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

Post by g0r60n » Tue Aug 06, 2019 1:47 pm

Thoros69 wrote: ↑
Wed Jul 31, 2019 5:14 pm
Had same problem. Wait 48 hours if you changed nameserver or IP in DNS.
Step 1.
Just delete 'yourdomain.se' in Vestacp. Look so DNS records also are gone.
Step 2.
Use FTP to erease all 'yourdomain.se' in /username/conf/web/ and /username/conf/dns/.
Step 3.
Add 'yourdomain.se' again with letsencrypt option filled. Wait up to 5 minutes.

Should be working for all.

Debian 9
VestaCP nginx + apache2
php-fpm 7.0 - 7.2 - 7.3

PS. I started with PLESK, stable, easier + DNSSEC
(In VestaCP it is not happend for decades....)
PLESK small cost VS VestaCP cost when you need to reinstall every week or month
Thanks, but with me the problem still exists :(
Top

sysdop
Posts: 88
Joined: Fri Dec 08, 2017 1:46 am
Contact:
Contact sysdop
Website Skype

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

Post by sysdop » Thu Aug 29, 2019 2:03 pm

The domain must point to the server both via www and @ and also have the Cloudflare CDN off, if the domain does not resolve or has orange clouds in Cloudflare then you will not be able to generate it.
Top

saosangmo
Posts: 20
Joined: Sun Sep 21, 2014 2:27 pm
Contact:
Contact saosangmo
Website Google+

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

Post by saosangmo » Tue Sep 24, 2019 6:18 pm

Hello,

I get the same error after migrating my site to new server with this method https://vestacp.com/docs/#how-to-migrat ... her-server.

Please help me.
Top

shahidirfan
Posts: 8
Joined: Sat Aug 20, 2016 6:14 am

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

Post by shahidirfan » Wed Sep 25, 2019 6:05 am

I am facing same issue. I applied all available options on the forum. But not solved the issue. I am using latest vestacp with ubuntu 18.04 nginx and apache with default confg.

Is there a new update in vestacp to fix the problem.
Top

sysdop
Posts: 88
Joined: Fri Dec 08, 2017 1:46 am
Contact:
Contact sysdop
Website Skype

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

Post by sysdop » Sun Sep 29, 2019 10:29 pm

The problem is fixed now, try update Vesta.
Top

peterbkk
Posts: 4
Joined: Thu Jun 02, 2016 7:49 am

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

Post by peterbkk » Mon Oct 07, 2019 4:51 am

sysdop wrote: ↑
Thu Aug 29, 2019 2:03 pm
The domain must point to the server both via www and @ and also have the Cloudflare CDN off, if the domain does not resolve or has orange clouds in Cloudflare then you will not be able to generate it.
This did the trick for me. I had a subdomain, hosted on a different server from the main domain name. With SSL forced I got Error 400, when i removed the forced SSL (set in apache2.conf) I got the same error but no "400".

After adding the A record for www.sub to where the DNS is managed, it then worked and SSL cert was issued.


Thanks
Top

hsvesta
Posts: 8
Joined: Thu Nov 01, 2018 8:54 am

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

Post by hsvesta » Tue Oct 08, 2019 4:54 am

If you are using CDN like Cloudflare, than choose 'DNS only' instead of using a proxy for your domain. This helped me solve this problem. You can try reinstalling Vesta but make sure to take a backup. Try using Vesta through the command line by logging into the root account of your server. The CDN problem solved it for me on one of my servers. On another server I had to reinstall Vesta and than tweak the CDN settings.
Top


Post Reply
  • Print view

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