A simple ACME client for Node.js
$ npm install @giladno/acme --save
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']});
- Add method to update account key
- Finish documentation
- Add tests
PR's are more than welcome! You can also drop me a line at gilad@novik.ca
MIT