My site was running correctly for a few months and when I tried to renew my SSL certificate through certbot I am getting this error. Droplet: Litespeed Domain from: Cloudflare Domain: fitnationplus.com
Error: https://imgur.com/a/MYoPhvh
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
In order for Let’s Encrypt to issue a valid SSL certificate, it needs to validate your domain name. For that to happen your domain needs to be pointing to the server IP address directly.
In your case, as you are using Cloudflare, the public A record for your domain name will not match the server IP but it would match Cloudflare’s IP address.
There are two solutions to this:
Flexible
.Hope that this helps. Best, Bobby