Skip to content

Cloudflare Zone Selection incorrect #1

@xeonixo

Description

@xeonixo

Hi!

I noticed, that the zone name will be selected wrong.

{"level":"error","ts":1723061694.7868009,"logger":"tls.issuance.acme.acme_client","msg":"cleaning up solver","identifier":"*.barner.cloud","challenge_type":"dns-01","error":"no memory of presenting a DNS record for \"_acme-challenge.barner.cloud\" (usually OK if presenting also failed)"}
{"level":"error","ts":1723061695.024042,"logger":"tls.renew","msg":"will retry","error":"[*.barner.cloud] Renew: [*.barner.cloud] solving challenges: presenting for challenge: **adding temporary record for zone \"cloud.\": expected 1 zone, got 0 for cloud.** (order=https://acme-v02.api.letsencrypt.org/acme/order/1633627857/294308610316) (ca=https://acme-v02.api.letsencrypt.org/directory)","attempt":1,"retrying_in":60,"elapsed":3.31907068,"max_duration":2592000}

Correct zone should be "barner.cloud." and not just "cloud."

My Caddyfile TLS-Part:

*.barner.cloud, barner.cloud {
        tls {
                dns cloudflare {env.CLOUDFLARE_API_TOKEN}
        }

It worked once some time ago, but now the renew fails. :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions