
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
acme-http-01-standalone
Advanced tools
HTTP Authentication (In-Memory) for Let's Encrypt for Node.js - ACME http-01 challenges w/ ACME.js and Greenlock.js
In-memory HTTP Authentication for Let's Encrypt for Node.js - ACME http-01 challenges w/ ACME.js and Greenlock.js
Handles ACME http-01 challenges. Compatible with ACME.js and Greenlock.js. Passes acme-http-01-test.
npm install --save acme-http-01-standalone
First you create an instance with your credentials:
var http01 = require('acme-http-01-standalone').create({});
Then you can use it with any compatible ACME library, such as Greenlock.js or ACME.js.
var Greenlock = require('greenlock-express');
var greenlock = Greenlock.create({
challenges: {
'http-01': http01
}
// ...
});
See Greenlock Express and/or Greenlock.js documentation for more details.
// TODO
See the ACME.js for more details.
There are only 4 methods:
init(config)
set(opts)
get(opts)
remove(opts)
http01
.set({
identifier: { value: 'foo.example.co.uk' },
token: 'xxxx'
keyAuthorization: 'xxxx.yyyy'
})
.then(function() {
console.log('Saved ACME key authorization file');
})
.catch(function(err) {
console.error('Failed to save ACME key authorization file');
console.error(err);
});
See acme-http-01-test for more implementation details.
# node ./test.js domain-zone api-token
node ./test.js example.com xxxxxx
See AUTHORS for contact info.
acme-http-01-standalone.js | MPL-2.0 | Terms of Use | Privacy Policy
Copyright 2019 AJ ONeal Copyright 2019 The Root Group LLC
FAQs
HTTP Authentication (In-Memory) for Let's Encrypt for Node.js - ACME http-01 challenges w/ ACME.js and Greenlock.js
The npm package acme-http-01-standalone receives a total of 4,160 weekly downloads. As such, acme-http-01-standalone popularity was classified as popular.
We found that acme-http-01-standalone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.