Page 1 of 1

LetsEncrypt hostname SSL failing on new install (Debian 10)

Posted: Mon Dec 27, 2021 5:32 pm
by Radi
Hello guys, I am having trouble during installation of MyVESTACP - letsencrypt hostname SSL is not getting generated.

I am getting error 400. I have DNS records setup like this:

* - > VPS IP
www - > VPS IP
@ - > VPS IP

Hostname is a subdomain. Anyone faced this? It worked once only and after reinstall - broke.

Re: LetsEncrypt hostname SSL failing on new install (Debian 10)

Posted: Mon Dec 27, 2021 5:38 pm
by myVesta
Check if both subdomain.domain.com and www.subdomain.domain.com are pointing to VPS IP ?
Use https://mxtoolbox.com/DNSLookup.aspx for checking.

Re: LetsEncrypt hostname SSL failing on new install (Debian 10)

Posted: Mon Dec 27, 2021 5:43 pm
by Radi
Yes, as from * record, both should be. Do I need to explicitly define them?

Re: LetsEncrypt hostname SSL failing on new install (Debian 10)

Posted: Mon Dec 27, 2021 6:09 pm
by myVesta
Check for AAAA record.
There should NOT be AAAA record.

Lastly, check /var/log/vesta/letsencrypt.log

Re: LetsEncrypt hostname SSL failing on new install (Debian 10)

Posted: Mon Dec 27, 2021 6:12 pm
by Radi
The log shows some pending authorizations. Perhaps I need to wait for them to expire? Could I PM you the file?

No AAAA record is present.

P.S. What's the procedure to re-do this post-install? Reissue SSL for the web domain, which I set as hostname and configure it in Settings(I show an option to set Vesta Hostname SSL)?

Re: LetsEncrypt hostname SSL failing on new install (Debian 10)

Posted: Mon Dec 27, 2021 6:19 pm
by myVesta
Yes, send me log file, screenshot of error while you are trying to generate LetsEncrypt SSL, and screenshot of https://YOUR-HOSTNAME:8083/list/server/ (or whatever port number you are using for myVesta)