Skip to content

A challenge strategy for greenlock.js (node-letsencrypt) for setting, retrieving, and clearing ACME challenges by azure-storage as blobs.

License

Notifications You must be signed in to change notification settings

kolarcz/node-le-challenge-azure-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

le-challenge-azure-storage

A challenge strategy for greenlock.js (node-letsencrypt) for setting, retrieving, and clearing ACME challenges by azure-storage as blobs.

It is designed to handle http-01 challenges.

Install

npm install --save le-challenge-azure-storage

Usage

const challenge = require('le-challenge-azure-storage').create({
  connectionString: 'DefaultEndpointsProtocol=https;AccountName=xxxxx...',
  blobContainer: 'letsencrypt'
});

const LE = require('greenlock');

LE.create({
  ...
  challengeType: 'http-01',
  challenge,
  ...
});

LE.register(...);

It requires the challengeType option to greenlock to be http-01.

Exposed Methods

For ACME Challenge:

  • set(opts, domain, key, value, done)
  • get(opts, domain, key, done)
  • remove(opts, domain, key, done)

For greenlock.js (node-letsencrypt) internals:

  • getOptions() returns the user supplied options, if any (no effect)

About

A challenge strategy for greenlock.js (node-letsencrypt) for setting, retrieving, and clearing ACME challenges by azure-storage as blobs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published