-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add ACME protocol support for certificate management into TLS plugin #13
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Marius Kimmina <[email protected]>
Signed-off-by: Marius Kimmina <[email protected]>
Following up on our discussion on the original issue, I updated the proposal so that only the DNS challenge will be supported by this change, the HTTP challenge is out of scope. CoreDNS also needs to be the authoritative DNS server for the domain. |
Signed-off-by: Marius Kimmina <[email protected]>
Signed-off-by: Marius Kimmina <[email protected]>
Hey @yongtang, I would appreciate some feedback on this when you can find the time. I have also send in my application for GSoC - so I'm sure that I want to work on this. |
@mariuskimmina The proposal overall looks great! I also saw your proposal in GSoC's page. /cc @greenpau |
So, I started working on this and I am hitting a first roadblock - to solve the DNS Challenge CoreDNS needs to be ready to accept DNS requests, which happens after all the plugins have been parsed. So, Ideally when parsing the TLS plugin config I want to be able to start serving DNS just for the challenge and then stop serving DNS again to go on parsing other plugins - is there a way to do something like that? @yongtang @greenpau |
@mariuskimmina Sorry for the late reply. Let me take a look and get back to you during the weekend. |
@yongtang After digging a bit deeper into the
But no other plugin seems to have done something like this - does it seem reasonable to do it this way? I would of course add a timeout to the challenge so that if something goes wrong CoreDNS doesn't get stuck on startup. Also don't worry about late replies - I appreciate any help I can get |
Status update: I just successfully solved an ACME DNS Challenge and received a certificate - so the approach seems to be working. Code is still a mess and I need to add a lot of logic around it, but the general approach appears to be working. :) For my tests I'm using pebble as a CA running on localhost, CoreDNS is also running on localhost and set as the authoritative DNS Server in |
@mariuskimmina Happy to let you know that your proposal has been accepted by GSoC. Congratulations 🎉 I am out-of-office this week but I will send you a meeting invite so Paul and me can have a sync up with you. You can also find my email from my github profile. |
Thanks for bringing me the great news, even before an official anouncement - I am looking forward to talking to you and to bringing this feature into CoreDNS 😀 |
This is a first draft and still contains open questions, and is subject to change.
I hope to work on this project in the context of Goolge Summer of Code (GSoC) and will be applying for that in the upcoming application period from April 04 - April 19.
I saw that there were 2 previous proposals for an ACME addition and reused a lot of there work - so a lot of credit goes to them and hopefully the third times the charm.