problem with SSL

Hi,

I’m trying to create an SSL certificate for my domain using Let’s Encrypt, but I keep encountering this issue:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for abdulaziz-faqihi.sa and www.abdulaziz-faqihi.sa
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
I have connected my domain using an A record, and I’ve set the TTL to auto.

Can someone help me troubleshoot this issue or guide me on how to correctly configure my virtual host?

Thanks in advance!

Hi @Abdulaziz,

Are you sure you are using Hestia? Because Hestia doesn’t use Certbot to issue certificates. If you don’t use Hestia then you should ask for help at https://community.letsencrypt.org

Anyway, your main domain doesn’t have an A record configured but www subdomain does.

$ dig abdulaziz-faqihi.sa +noall +ans

$ dig www.abdulaziz-faqihi.sa +noall +ans
www.abdulaziz-faqihi.sa. 86296  IN      A       154.12.253.153
3 Likes