Unused challenges => unrelated warning about le.challenges[tls-sni-01].loopback #2

Closed
opened 2017-12-28 20:28:14 +00:00 by Ghost · 4 comments

https://git.coolaj86.com/coolaj86/greenlock.js/src/master/index.js#L81-L97 fills in several challenges, even if I provide my own le-challenge-route53.

This results in me getting a warning le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed, which is not related to anything I want to do.

https://git.coolaj86.com/coolaj86/greenlock.js/src/master/index.js#L81-L97 fills in several challenges, even if I provide my own le-challenge-route53. This results in me getting a warning `le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed`, which is not related to anything I want to do.
Author

And it creates middleware even if I don't have any need for it, making at least 'http-01' a must.

And it creates middleware even if I don't have any need for it, making at least 'http-01' a must.
Owner

I'll be updating greenlock for acme-v2 (git.coolaj86.com/coolaj86/acme-v2.js) and when I do there will no longer be a need for the loopback test.

I'll be updating greenlock for acme-v2 (git.coolaj86.com/coolaj86/acme-v2.js) and when I do there will no longer be a need for the loopback test.
Owner

The loopback test has been removed. Instead the loopback check now occurs directly in acme-v2.js).

http-01 still has a default plugin, but this isn't something I think I should remove at this point.

Thanks for the feedback.

Also, I'd love a PR with a link to your route53 module. :)

The loopback test has been removed. Instead the loopback check now occurs directly in [`acme-v2.js`](https://git.coolaj86.com/coolaj86/acme-v2.js)). `http-01` still has a default plugin, but this isn't something I think I should remove at this point. Thanks for the feedback. Also, I'd love a PR with a link to your route53 module. :)
Author
Not much to it: https://github.com/SignalK/letsencrypt-plugin/blob/master/le.js
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coolaj86/greenlock.js-ARCHIVED#2
No description provided.