Replies: 5 comments 6 replies
-
Thanks for asking. I am not aware about cert manager but I guess they should be supporting Dynamic Updates (RFC 2136) which you can then use with the DNS server. The blog post explains how to use it with certbot. I would suggest that you explore if that is supported and try it. |
Beta Was this translation helpful? Give feedback.
-
@Slyke, how's your progress? I want to use the same approach. |
Beta Was this translation helpful? Give feedback.
-
Haven't started yet. Life's been in the way. I'm thinking to create a docker image with NodeJS and have it as a separate server and use Technitium API. I'm not a C# developer, so it probably wouldn't be good if I wrote a plugin. |
Beta Was this translation helpful? Give feedback.
-
So I'm trying to write this as an application within TechnitiumDNS, but I'm not a C# guy and this is the first time I'm touching the language:
When I load this app or update the settings, I can see in the logs:
But I don't see any of my logs in there. When I try to curl the URL, I get connection refused. This hints that the application is not running. I'm not sure what I'm doing wrong. I'm using a few examples from the github. EG: https://github.com/TechnitiumSoftware/DnsServer/blob/master/Apps/AdvancedBlockingApp/App.cs |
Beta Was this translation helpful? Give feedback.
-
Here's my solution. I've tested it out and confirmed that it is working on LetsEncrypt staging (Dockerhub link below). No need to run
You will also need to install this Solver to have the Kubernetes Issuer send a http request:
Issuer Yaml:
Dockerhub link: https://hub.docker.com/repository/docker/slyke/dns01-challenge-handler/tags @ShreyasZare it would be nice if TechnitiumDNS had native support for Let'sEncrypt DNS01 challenges, or at least an App for it. Basically it would work by pointing LetsEncrypt to TechnitiumDNS URL (with an API key) and it just works. |
Beta Was this translation helpful? Give feedback.
-
Hello, trying to setup wildcard issuance with cert-manager and LetsEncrypt on a bare-metal Kubernetes cluster.
It seems that when trying to use wildcards, DNS-01 challenge is enforced. Luckily, cert-manager provides a generic webhook feature so that we can use our own API to add and remove records.
I also found a blog post on the Technitium blog which gives examples on how to use the API for adding and removing DNS-01 TXT challenge entries:
Kubernetes Issuer:
Cert-manager sends a JSON payload to the URL specified and that payload contains the data for adding/removing the TXT record. I couldn't find any details on what exactly is in this payload.
Before I go down a rabbit hole making some webhook middleman to do the translation between cert-manager and Technitium DNS, I was wondering if anyone had already done this before? There doesn't seem to be an App in the Technitium App Store for this.
Beta Was this translation helpful? Give feedback.
All reactions