Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
This module provides a proof of concept implementation of the ACME protocol for certificate management. Its main functions are:
The module provides both client and server implementations. For full details of the protocol, see the ACME protocol specification.
> npm install node-acme
> node node-acme/demo.js
An ACME client represents a certificate subject, such as a web server. For example, you might use ACME to acquire a certificate when a new web server instance starts up. This module provides both a fine-grained client interface and a simple one-line call to get a certificate.
// The easy way
var certificateInfo;
acme.getMeACertificate(serverURL, domain, function(result) {
// Result has authorizedKeyPair, subjectKeyPair,
// recoveryKey, certificate
});
// The hard way
var client = acme.createClient(serverURL);
var authorizedKeyPair = client.generateKey(keySize);
var subjectKeyPair = client.generateKey(keySize);
client.authorizeKeyPair(authorizedKeyPair, domain, function(result) {
// Result has a recovery key
client.issueCertificate(authorizedKeyPair, subjectKeyPair,
domain, function(result) {
// Result has certificate
}
});
An ACME server represents a CA in the management process. Right
now, the server interface is fairly basic. When started with no
parameters it will generate a new CA. The state of the server can
can be retrieved using the getState
method, and used to restart
the server in the same state later.
var server = acme.createServer();
server.listen(8888);
// ... handle some client transactions ...
server.close();
FAQs
Automated Certificate Management Environment (ACME)
The npm package node-acme receives a total of 0 weekly downloads. As such, node-acme popularity was classified as not popular.
We found that node-acme 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
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.