I registered my domain, installed HestiaCP on Ububtu 22.04 and I am having a problem to get the certificate. I already did this in past and had no problem. Looking at check-your-website.server-daten.de I can't really tell what the problem is.
My domain is: hcp.hx7.eu
I ran this command: from Hestia CP
It produced this output:
Error: Let's Encrypt validation status 400 (hcp.hx7.eu). Details: 403:"18.104.22.168: Invalid response from http://hcp.hx7.eu/.well-known/acme-challenge/rJY8jq3alrTwIRUit7yHQ7H-qoK6oiPcV_6HKYRhtr0: 404"
My web server is (include version): nginx/1.23.2
The operating system my web server runs on is (include version): Ubuntu 22.04.1 LTS
I can login to a root shell on my machine: yes
I'm using a control panel to manage my site: HestiaCP v1.6.5
name / TTL / type / data / 300 / A / 22.214.171.124 / 300 / CAA / 0 issue "letsencrypt.org" / 300 / CAA / 0 iodef "mailto:email@example.com" * / 300 / A / 126.96.36.199 hcp / 300 / A / 188.8.131.52 mail / 300 / A / 184.108.40.206 mail / 300 / MX / 0 mail.hx7.eu www / 300 / A / 220.127.116.11
I also tried to add following DNS records with token:
but the result is the same. Do I need to add _acme-challenge with token to my DNS records? If so, how do I know which token HestiaCP uses when requesting SSL Let's encrypt certificate? For now I removed it as there was no change.
reading through various forums, I also tried letsdebug.net with following result:
All OK! No issues were found with hcp.hx7.eu. If you are having problems with creating an SSL certificate, please visit the Let's Encrypt Community forums and post a question there.
I created another subdomain in Hestia CP, this time under a user (not admin as for hcp.hx7.eu), and tried to generate SSL certificate. And it worked! So I wonder why it does not work for admin