Nginx proxy manager letsecrypt dns challenge with cloudflare internal error

I have a domain on cloudflare dns. I wanted to add letsencrypt certificates with cloudflare dns challenge and got an internal error.
When I specified dns challenge and cloudflare as provider I got an additional box with 2 parameters to fill out:
cloudflare_dns_email and cloudflare_dns_api_key.

I entered my email and my cloudflare generated dns:edit token and got an internal error.

Later I found out how to do it right:
You have to comment out or delete cloudflare_dns_email and replace cloudflare_dns_api_key with cloudflare_dns_api_token.
Then it works.

1 Like

Just wanted to update that OP’s work around does work, however the parameter should be as follows:

dns_cloudflare_api_token