Failed to renew TLS certificate. SniCertificate::CertificateNonvalidError: Unable to verify challenge

Hello. I am having issues with certificate renewal.

SniCertificate::CertificateNonvalidError: Unable to verify challenge for sahilg.dev: 2606:4700:3035::ac43:b65a: Invalid response from http://sahilg.dev/.well-known/acme-challenge/YvRfz6T4YYGgHzEKDIDZN683qd_2qSvHdYvwXwv3II8: 522

Netlify site ID : 53316da2-802a-44c2-ae30-2805cabdc98a
Using Cloudflare as a nameserver

You need to change records from Proxied to DNS Only per [Support Guide] What problems could occur when using Cloudflare in front of Netlify?

Additionally your DNS isn’t configured correctly for external DNS as per [Support Guide] DNS Quick Start - How to set up DNS and related documentaion Configure external DNS for a custom domain | Netlify Docs

1 Like

Hey @dig, thank you so much for the response. from what i read from the link you provided I decided to go ahead and remove the site from Cloudflare altogether and changed my nameservers to that of Netlify.

Solved the issue and renewed the certificate. again thank you for your help