acme-challenge-test | a Root project
Test harness for ACME http-01 and dns-01 challenges for Let's Encrypt Free SSL integration.
This was specificially designed for ACME.js and Greenlock.js, but will be generically useful to any ACME module.
If you are building a plugin, please let us know. We may like to co-author and help maintain and promote your module.
This package has been split in two for the purpose of keeping the documentation clear and concise.
ACME http-01
Use this for quick-and-easy, average-joe kind of stuff.
ACME dns-01
Use this for wildcards, and private and local domains.
Reference Implementations
These are plugins that use the v2.7+ (v3) API, and pass this test harness, which you should use as a model for any plugins that you create.
- http-01
- dns-01
You can find other implementations by searching npm for acme-http-01- and acme-dns-01-.
Starter Template
Just so you have an idea, this is typically how you'd start passing the tests:
var tester = ; // The dry-run tests can pass on, literally, 'example.com'// but the integration tests require that you have control over the domainvar domain = 'example.com'; tester ;