@giladno/acme

1.0.3 • Public • Published

ACME

A simple ACME client for Node.js

Installation

$ npm install @giladno/acme --save

Usage

const ACME = require('@giladno/acme');

let account;
const client = new ACME(ACME.letsencrypt.staging, account);

account = await client.createAccount({email: 'email@domain.com'}); // you might want to persist account

app.use(client.middleware()); // for expressjs based apps

const {privateKey, cert, chain} = await client.register({domain: ['domain.com']});

TODO

  • [ ] Add method to update account key
  • [ ] Finish documentation
  • [ ] Add tests

Contributing

PR's are more than welcome! You can also drop me a line at gilad@novik.ca

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @giladno/acme

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

9.49 kB

Total Files

5

Last publish

Collaborators

  • giladno