- Plesk for Linux
- Plesk for Windows
The domain is configured in CloudFlare and uses CloudFlare DNS;
Let's Encrypt certificate cannot be issued/renewed with the following error:
PLESK_ERROR: Your domain in Plesk is hosted on the IP address(es): 203.0.113.2 , but the DNS challenge used another IP address: 203.0.113.3.
Please check the actual DNS zone of your domain and make sure that the IP addresses in the DNS zone and for the hosting are the same.
(optional) The captcha is enabled for the domain.
The token file is not accessible due to Cloudflare's cache.
Note: In order to prevent such issues, exclude the token file path
http://example.com/.well-known/acme-challenge/* according to the instruction from Cloudflare: How do I exclude a specific URL from Cloudflare's caching?
- Clear the Cloudflare's cache using steps from Cloudflare's article: How do I purge my cache?
- (In case captcha is enabled) Disable captcha for the domain.
- Issue/renew Let's encrypt certificate: Log in to Plesk > Domains > Let's Encrypt > Install/Renew.
- (In case captcha was enabled) Enable captcha for the domain back.