le-store-s3
v1.0.4
Published
A S3 strategy for node-letsencrypt and lambda function for handling challenges
Downloads
171
Readme
le-store-s3
Store node-greenlock certificates and account information in S3
Using
const S3 = {
bucketName: 'letsencrypt'
}
const store = require('le-store-s3').create({ S3 })
const challenge = require('le-challenge-s3').create({ S3 })
const instance = LE.create({
store,
challenges: { 'http-01': challenge },
challengeType: 'http-01',
agreeToTerms (opts, callback) {
callback(null, opts.tosUrl)
}
})
instance.register({
domains: ['awesome.domain'],
email: '[email protected]',
agreeTos: true,
rsaKeySize: 2048,
challengeType: 'http-01'
})
License
ISC