1.0.4 • Published 6 years ago

le-store-s3 v1.0.4

Weekly downloads
113
License
ISC
Repository
-
Last release
6 years ago

le-store-s3

Build Status

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: 'green@rabbit.candy',
  agreeTos: true,
  rsaKeySize: 2048,
  challengeType: 'http-01'
})

License

ISC