Answer the question
In order to leave comments, you need to log in
What is the cause of the Let's Encrypt validation status 400 error?
Lord, welcome.
This is my first time setting up a VPS. There is a VPS on Ubuntu, Vesat CP, Apache. Through Vesta, I want to put an SSL certificate on the domain. But I see an error Let's Encrypt validation status 400.
I managed to find out:
Let's Encrypt service reports a 403 error when accessing mysite.ru/.well-known/acme-challenge/mRR_2Bs_DxJJe...
It seems to me that the .well- directory is not being created known and as a result the site gives its standard 403 error. Why - I can not understand. And it confuses me that the folders on the server are owned by root, and the new site that I migrated has admin owned by all directories. It may be that there are not enough rights to create? Please point me in the right direction)
Answer the question
In order to leave comments, you need to log in
In general, the suggested answers did not help. I even tried to install through certbot. But then I reinstalled all the software on the VPS, through VESTA CP there was still a 400 error, but through certbot it was installed immediately. Thanks to all.
You have phpmyadmin on each
site and no one creates it manually on each site, so do the well-known/
acme
-challenge
in exactly the same
way sites on this link will go immediately to this directory
/etc/httpd/conf/extra/httpd-acme.conf:
Alias /.well-known/acme-challenge/ "/var/lib/letsencrypt/.well-known/acme-challenge/"
<Directory "/var/lib/letsencrypt/">
AllowOverride None
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
Include conf/extra/httpd-acme.conf
Alias /.well-known/acme-challenge/ "/var/www/html/.well-known/acme-challenge/"
<Directory "/var/www/html/">
AllowOverride None
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question