SSL certificate error with Cloudflare

I’m using caddy with Cloudflare.

I’m trying to allow custom domain for a client.

They have pointed the cname to my domain. But I get ERR_SSL_PROTOCOL_ERROR

When doing dig I see that the domain is pointed to the right place.

The Cloudflare API token has Zone / Zone / Read permissions. But when I look at the caddy logs I get

adding temporary record for zone ente.io.: got error status: HTTP 403: [{Code:0 Message:Actor 'com.cloudflare.api.token.xxxxx' requires permission 'com.cloudflare.api.account.zone.read' to list zones}

I used xcaddy and build the Cloudflare and added token.

Please let know what I can do.

I regularly use the Cloudflare provider myself with no problems. Usually when we’ve seen this error before it is because the API token is incorrectly configured or permissioned. Are you absolutely sure the permissions are right?

This topic was automatically closed after 30 days. New replies are no longer allowed.