greenlock-challenge-manual.js/README.md

1.2 KiB

| Greenlock (library) | Greenlock CLI | greenlock-express | greenlock-koa | greenlock-hapi |

le-challenge-manual

A Root Project

A manual cli-based strategy for node-letsencrypt.

Prints the ACME challenge Token and Key and then waits for you to hit enter before continuing.

Install

npm install --save le-challenge-manual@2.x

Usage

var leChallenge = require('le-challenge-manual').create({
, debug: false
});

var LE = require('letsencrypt');

LE.create({
  server: LE.stagingServerUrl
, challenge: leChallenge
});

NOTE: If you request a certificate with 6 domains listed, it will require 6 individual challenges.

Exposed Methods

For ACME Challenge:

  • set(opts, domain, key, val, done)
  • get(defaults, domain, key, done)
  • remove(defaults, domain, key, done)

For node-letsencrypt internals:

  • getOptions() returns the internal defaults merged with the user-supplied options