Socket
Socket
Sign inDemoInstall

le-challenge-sni

Package Overview
Dependencies
22
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    le-challenge-sni

A strategy for node-letsencrypt for setting, retrieving, and clearing ACME challenges by registering self-signed certs with the SNI handler.


Version published
Weekly downloads
709
increased by52.47%
Maintainers
1
Install size
3.38 MB
Created
Weekly downloads
 

Readme

Source

le-challenge-sni

A strategy for node-letsencrypt for setting, retrieving, and clearing ACME challenges by registering self-signed certs with the SNI handler.

It is designed to handle tls-sni-01 and tls-sni-02 challenges.

Install

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

Usage

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

var LE = require('letsencrypt');

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

le-challenge-sni requires the sni option to letsencrypt to have cacheCerts and uncacheCerts methods. These are used to register/unregister the certificates. The default le-sni-auto instance satisfies this requirement.

It also requires the challengeType option to letsencrypt to be either tls-sni-01 or tls-sni-02 and will generate and register certificates accordingly.

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 user supplied options, if any (no effect)

Keywords

FAQs

Last updated on 08 Oct 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc