Skip to content

thadeetrompetter/le-challenge-route53

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

le-challenge-route53 Build Status

An ACME dns-01 challenge handler for node-letsencrypt.

Notice: Currently in alpha state.

install

npm install le-challenge-route53

Usage

Options specific to this challenge plugin:

  • AWSConfigFile: By default, aws-sdk will try to read your AWS credentials from ~/.aws/credentials. 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.

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
});

About

Amazon Route53 compatible ACME dns-01 strategy for node-letsencrypt

Resources

Stars

Watchers

Forks

Packages

No packages published