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

Use DNS validation for certificates #247

Open
bugeats opened this issue May 29, 2019 · 5 comments
Open

Use DNS validation for certificates #247

bugeats opened this issue May 29, 2019 · 5 comments

Comments

@bugeats
Copy link

bugeats commented May 29, 2019

Instead of sending an email, you can just use Route53 to add a new DNS record to verify new certificates. This would in theory require no user intervention at all.

@brandonweiss
Copy link
Owner

Yeah, I saw that AWS added this feature. I considered supporting it, but the problem is that DNS can take a really variable amount of time to propagate. Right now verification by email takes seconds or maybe minutes. Verification by DNS could take hours. 😕

@bugeats
Copy link
Author

bugeats commented May 29, 2019

In my case I don't have easy access to whatever email address is being introspected here.

In my experience DNS validation happens in a matter of seconds when using the AWS console during a certificate create flow.

@brandonweiss
Copy link
Owner

Ah, I see. It looks at the contact information in the WHOIS database to determine what email addresses to send to.

I think that problem is a bit of an edge-case. If there was an easy way to solve it I would, but switching to DNS verification would be more problematic, I think. Route53 might be quite fast, but not all DNS providers are.

I could support both methods of verification, but that adds complexity to the tool and makes it slightly more confusing to use.

I’m not sure there’s a great improvement to be had here, unfortunately 😞

@dominiquedutra
Copy link

I am having trouble with verification by email. It seems .com.br domain information are not available for lookup. I never received my verification e-mail.

Speaking of DNS for validation, I think it`s a great idea. If you are hosting your website on S3 and distributing using CloudFront you probably will use Route53 for DNS - I mean, why wouldn't you?

@brandonweiss
Copy link
Owner

@dominiquedutra Did you wind up sorting out the verification issue?

Well, some people might use Route53, but some people might not. For example, I don’t. I already have my DNS handled for all my sites in a place I like so there’s no reason for me to switch. I really wouldn’t want to lock people into a specific DNS provider in order to use Discharge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants