node-letsencrypt dns challenge compatible with Amazon Route53
npm install le-challenge-route53An ACME dns-01 challenge
handler for node-letsencrypt.
Notice: Currently in alpha state.
``sh`
npm install le-challenge-route53
Options specific to this challenge plugin:
* AWSConfigFile: By default, aws-sdk~/.aws/credentials
will try to read your AWS credentials from . Specifying
a valid path to an alternative credentials file allows you to override the
default behavior. Refer to aws docs for details.
* delay: Delay in milliseconds before allowing letsencrypt to query dns
records created by this plugin. Setting this property allows you to compensate
for lag in DNS propagation.
* zone: required Name of a Route53 hosted zone where your dns resource
records live. This is required to resolve a hosted zone ID from Route53.
This plugin supports certificate retrieval for domains within a single hosted
zone. If you need certificates for domains under different hosted zones, run
node-letsencrypt for each hosted zone.
`javascript
var leChallenge = require('le-challenge-route53').create({
AWSConfigFile: '~/path/to/aws-config-file', // Optional alternative AWS credentials file to use.
zone: 'example.com' // required
delay: 20000, // ms to wait before allowing letsencrypt to check dns record (20000 ms is the default)
debug: false
});
var LE = require('letsencrypt');
LE.create({
server: LE.stagingServerUrl, // Change to LE.productionServerUrl in production
challenge: leChallenge
});
``