ebekker / ACMESharp

An ACME client library and PowerShell client for the .NET platform (Let's Encrypt)
https://pkisharp.github.io/ACMESharp-docs/
1.21k stars 185 forks source link

Duck DNS dns-01 challenge handler #363

Closed philippn closed 5 years ago

philippn commented 5 years ago

Hi there, Thanks for ACMESharp, it was really handy for creating a LE cert for my Duck DNS domain. Since I learned a little bit about ACMESharp, LE and Duck DNS on the way, I have created a DnsChallengeHandler for Duck DNS.

It's basically copied of the DNS Made Easy handler and adjusted to work with Duck DNS (which is as easy sending a GET request to the update endpoint). For more details, please refer to the paragraph TXT Record API at https://www.duckdns.org/spec.jsp.

I have tested this extension with a Powershell script of mine, and it works fine so far. One word of caution though: I'm not an everyday .NET programmer and I noticed the GUIDs that are spread over various places, namely the psd1 file, nugetspec and assemblyinfo. Since it is basically a copy of the DNSMadeEasy Provider, the Guids probably need to be changed, before merging it.

Thanks and keep up the good work!

ebekker commented 5 years ago

Thanks!