Page 1 of 1

Let's encrypt doesn't work

Posted: Mon Jul 18, 2022 8:08 pm
by krook
I saw that the problem is not new on this forum. But I didn't find correct solution.

My actions (Ubuntu - Vesta - Apache):
1.I've registered a new domain , for example, on another service with DNS server).
2. I have added it to WEB, then to DNS with local IP.
3. I tried to activate SSL and Let's encrypt, but got error: 400.
4. By-the-way, Vesta did not create new domain in 'sites-available' and I did it manually in SSH, then activated it - 'a2ensite').
5. Now I can't load the website in the browser, it redirects to but loads files from another directory (old not activated domain).
6. I tried: sudo /usr/local/vesta/bin/v-update-letsencrypt-ssl
But in result: Error: Let's encrypt validation status 400

1. How to fix SSL Lets encrypt?