It is a great library for letsencryt with node.
Recently I tried to make it work with wildcard names and it failed.
It will fail with `dns-01` challenge testing when getting a wildcard domain certifications.
But I found that it works when changing here:
https://git.coolaj86.com/coolaj86/acme-v2.js/src/branch/master/node.js#L49
```js
, 'dns-01': function (me, auth) {
// var hostname = ACME.challengePrefixes['dns-01'] + '.' + auth.hostname;
// ==>
var hostname = ACME.challengePrefixes['dns-01'] + '.' + auth.hostname.replace(/^\*\./, '');
return me._dig({
type: 'TXT'
, name: hostname
}).then(function (ans) {
```
It is a great library for letsencryt with node.
Recently I tried to make it work with wildcard names and it failed.
It will fail with
dns-01
challenge testing when getting a wildcard domain certifications.But I found that it works when changing here:
https://git.coolaj86.com/coolaj86/acme-v2.js/src/branch/master/node.js#L49
Thanks. I published the update as v1.5.2