Wildcard support in ACMEv2
Hi,
how does it work to get a wildcard certificate from ACMEv2? I setup DNS validation via nsupdate and patched the dns_{add,del}_nsupdate scripts to insert _acme-challenge.domain.tld. 300 in TXT token if *.domain.tldwas given.
The problem is the validation in getssl tries to check DNS for *.domain.tld. which will fail.
Greetings
floek
I'm just going through the wildcard part - I'll update here when ready for testing.
Presumably you have all the debug info you need? I'm keen to see support for wildcard domains. The issue I've got is the script isn't parsing out the authorization url for the wildcard domain from the json properly.
You will know this already I'm sure. :)
Hi, just wondering how you're getting on with this? And if there's any doco available from yourself yet regarding getting the Wildcard certs going?
Are there any news regarding wildcard support in GetSSL?
Wildcard certs are in production now. Are there any plans for implementing this feature?
GetSSL is listed on Let's Encrypt's page, implying it works already? I got this cuz my certbot-auto is still giving errors on the latest version. But I'm getting the following error:
$ getssl "*.marvell.cat"
*.marvell.cat: DNS lookup failed for *.marvell.cat
getssl: *.marvell.cat: exiting due to config errors
and not sure what I need to set up in DNS here, so…
@marv3lls Well, to be clear the page states that getssl is a "ACME v2 Compatible Client". The v2 protocol has a lot changes and features - not only the wildcard support :)
As @floek already said the wildcard feature works (by using the getssl APIv2 branch) until the validation point.
@srvrco is there any update as to when wildcard validation support will be added, since LetsEncrypt have now launched their ACMEv2 and wildcard support?
I tried to get wildcard cert using acmev2 version of getssl, but all I get is
../getssl/getssl mydomain.ext Registering account Verify each domain Verifying mydomain.ext Verifying *.mydomain.ext getssl: *.mydomain.ext:Verify error:json was blank
So main domain is verified properly, but wildcard is not... is it still under development and that's why or am I probably doing something wrong?
The question is: Is this tool still in development or the author dropped support?
Still around - I haven't dropped off completely - purely the day job getting in the way. Will try and complete the additional functionality ASAP ( possibly over the weekend )
That'd be awesome, thanks!
I'm trying to manually add a TXT record to see if I could workaround this.
But how do I add this TXT record? It seems to verify via "_acme-challenge.*.<mydomain.com>" which I can't actually add to my DNS provider tho..
IMO this doesn't look like a valid record to me. Did I do something wrong? Sorry I only know little about how DNS works.
As an additional question: Would you have to change the CA to :
CA="https://acme-v02.api.letsencrypt.org"
And how about servers where you don't control the DNS values directly? Is it one value that stays or does the value need to be changed every time?
@Nimja Have a look at the APIv2 branch of getssl. You'll see that there are already both URLs to the new api endpoint in it.
You'll have to change the TXT records every time you renew your wildcard certs, yes. Therefore you should use the API scripts in order to automate the process (if possible).
@srvrco Any update on this? I've got certificates expiring in the next week that I'd really like to move to wildcard...
Any experiences with the fork from shtzeng ? Which branch should I take ?
Check out #376 as a starting point. Works for the basic wildcard case. Haven't tested it much further.
@costela No luck with #376. I just get response not in json format.
@Spydar007 Haven't tried it, but maybe this will help?