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 General Discussion Debian/Ubuntu
  • Search

Error: Let's Encrypt validation status 400 on hostname or VestaCP hostname

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
castris
Posts: 4
Joined: Tue Feb 18, 2020 7:43 am

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

Post by castris » Tue Feb 18, 2020 9:25 am

Hi.

I've installed a server with Ubuntu 18, nginx

When try update hostname domain with letsencrypt support get

Error: Let's Encrypt validation status 400

my.hostname.com resolve well to server.
Not cloudflare

If use certboot work fine but other issues with mail.

Any ideas?

Code: Select all

==> /var/log/nginx/domains/my.hostname.com.log <==
66.133.109.36 - - [18/Feb/2020:10:21:51 +0100] "GET /.well-known/acme-challenge/CwXH0i0uoQK-z4qHzzxxLL1vc83h1ivU6XK347IphXg HTTP/1.1" 404 732 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"

==> /var/log/nginx/domains/my.hostname.com.error.log <==
2020/02/18 10:21:51 [error] 4228#4228: *7322 open() "/home/admin/web/my.hostname.com/public_html/.well-known/acme-challenge/CwXH0i0uoQK-z4qHzzxxLL1vc83h1ivU6XK347IphXg" failed (2: No such file or directory), client: 34.222.229.130, server: my.hostname.com, request: "GET /.well-known/acme-challenge/CwXH0i0uoQK-z4qHzzxxLL1vc83h1ivU6XK347IphXg HTTP/1.1", host: "my.hostname.com"

==> /var/log/nginx/domains/my.hostname.com.log <==
34.222.229.130 - - [18/Feb/2020:10:21:51 +0100] "GET /.well-known/acme-challenge/CwXH0i0uoQK-z4qHzzxxLL1vc83h1ivU6XK347IphXg HTTP/1.1" 404 732 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
Top

SPEC1AL1ST
Posts: 142
Joined: Sun Aug 10, 2014 1:32 pm

Re: Error: Let's Encrypt validation status 400 on hostname or VestaCP hostname
  • Quote

Post by SPEC1AL1ST » Sat May 02, 2020 3:06 pm

same error. vestacp dying?
Top

SdeSergi
Posts: 11
Joined: Fri May 15, 2020 9:39 am

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

Post by SdeSergi » Thu Jun 04, 2020 1:30 pm

Same error here, on clean server with Ubuntu 18:04.4 and Vesta CP (Apache + nginx)
Top

SdeSergi
Posts: 11
Joined: Fri May 15, 2020 9:39 am

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

Post by SdeSergi » Thu Jun 04, 2020 2:18 pm

SdeSergi wrote: ↑
Thu Jun 04, 2020 1:30 pm
Same error here, on clean server with Ubuntu 18:04.4 and Vesta CP (Apache + nginx)
solved by waiting a couple of hours
Top

EIKA
Posts: 2
Joined: Sat Aug 12, 2023 12:27 pm

Os: CentOS 7x
Web: apache + nginx
Re: Error: Let's Encrypt validation status 400 on hostname or VestaCP hostname
  • Quote

Post by EIKA » Sat Aug 26, 2023 5:54 pm

It can be caused by firewall too: ensure, that ports UDP:53, TCP:80 and TCP:443 are ready to accept incoming connections.
Top

mylastore
Posts: 8
Joined: Sun Jun 21, 2020 1:02 am

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

Post by mylastore » Fri Mar 29, 2024 2:20 pm

castris wrote: ↑
Tue Feb 18, 2020 9:25 am
Hi.

I've installed a server with Ubuntu 18, nginx

When try update hostname domain with letsencrypt support get

Error: Let's Encrypt validation status 400

my.hostname.com resolve well to server.
Not cloudflare

If use certboot work fine but other issues with mail.

Any ideas?

Code: Select all

==> /var/log/nginx/domains/my.hostname.com.log <==
66.133.109.36 - - [18/Feb/2020:10:21:51 +0100] "GET /.well-known/acme-challenge/CwXH0i0uoQK-z4qHzzxxLL1vc83h1ivU6XK347IphXg HTTP/1.1" 404 732 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"

==> /var/log/nginx/domains/my.hostname.com.error.log <==
2020/02/18 10:21:51 [error] 4228#4228: *7322 open() "/home/admin/web/my.hostname.com/public_html/.well-known/acme-challenge/CwXH0i0uoQK-z4qHzzxxLL1vc83h1ivU6XK347IphXg" failed (2: No such file or directory), client: 34.222.229.130, server: my.hostname.com, request: "GET /.well-known/acme-challenge/CwXH0i0uoQK-z4qHzzxxLL1vc83h1ivU6XK347IphXg HTTP/1.1", host: "my.hostname.com"

==> /var/log/nginx/domains/my.hostname.com.log <==
34.222.229.130 - - [18/Feb/2020:10:21:51 +0100] "GET /.well-known/acme-challenge/CwXH0i0uoQK-z4qHzzxxLL1vc83h1ivU6XK347IphXg HTTP/1.1" 404 732 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
I just installed a fresh Vesta instance and encountered the same error as before. It seems that "www" needs to be added. Please double-check if both "www" and "non-www" are pointing to your IPv4 address.
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • 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