Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is an email address necessary for the Caddy DNS Challenge? #6124

Closed
toyo2333 opened this issue Feb 24, 2024 · 1 comment
Closed

Is an email address necessary for the Caddy DNS Challenge? #6124

toyo2333 opened this issue Feb 24, 2024 · 1 comment
Labels
question ❔ Help is being requested

Comments

@toyo2333
Copy link

i tried yesterday challenge by Cloudflare DNS API key (use Docker :https://github.com/SlothCroissant/caddy-cloudflaredns), without Email address ,successed

i am confused about it

some article said a Cloudflare Email Address is required :

some article said the email address is NOT necessary

when using Cloudflare DNS to Challenge, what is the correct way to config email ?

thanks

@francislavoie
Copy link
Member

francislavoie commented Feb 24, 2024

Caddy got a soft-permission from ACME issuers to use a fake email by default when making ACME accounts, so for that reason it's not required at the moment.

But this might change with ZeroSSL soon, it may become required in the coming months #6101 (not providing one would cause Caddy to only use Let's Encrypt and not ZeroSSL). But this isn't finalized yet.

See https://caddyserver.com/docs/caddyfile/options#email. It's recommended to use an email so that ACME issuers can reach out to you if any problem arises with your account, but keep in mind that because of Caddy's relatively unique issuer fallback behaviour, Let's Encrypt might send you emails about cert expiry even though you still have a valid cert from ZeroSSL, because Caddy happened to fall back to switching issers -- Let's Encrypt doesn't know that, they only know "this cert is expiring without being renewed, so let's tell the user".

Next time, please ask your usage questions on the Caddy community forums. We prefer to keep the GitHub issue board for bugs and feature requests. Don't forget to fill out the thread template so we can help you!

@francislavoie francislavoie added the question ❔ Help is being requested label Feb 24, 2024
@francislavoie francislavoie closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❔ Help is being requested
Projects
None yet
Development

No branches or pull requests

2 participants