Forum archive
Turnkey DC -- Issuing cert for delegated sub-domain.
Hi there!
I have some experience with issuing certs but have never issued them via lexicon/dehydrated (and obviously via confconsole). I'm using TKDC 18.1.
I have delegated my subdomain (dc1.example.com) to another provider (luadns), because my current one (desec) isn't supported by lexicon.
Now I was trying to issue a cert for dc1.example.com with dns-01 and got the following error: "lexicon.exceptions.AuthenticationError: No domain found". I've manually changed /usr/local/src/venv/lexicon/lib/python3.11/site-packages/lexicon/_private/providers/luadns.py for debugging purposes and got that self.domain is example.com (and not dc1.example.com). Then I've read that lexicon should be configured for the subdomain cases: https://dns-lexicon.github.io/dns-lexicon/user_guide.html#resolution-of-... . According to the docs, it can be solved via multiple ways (I would prefer pathing --resolve-zone-name to lexicon, though).
So, my question is: how should I set confconsole to resolve zones? I could try to set the python venv var but:
1. I don't have much python experience. And even setting the venv var is giving me hard time.
2. I have hope that there is already a more elegant solution present.
/usr/share/confconsole/letsencrypt/dehydrated-confconsole.hook-dns-01.shas you suggested. self.domain is still example.com (and not dc1.example.com).I've checked
/etc/dehydrated/confconsole.hook.shafter failure -- it seems like changes todehydrated-confconsole.hook-dns-01.shhave been applied (you were right).Now I don't even have suggestions. Should I look into turnkey-lexicon?