@giladno/acme
v1.0.3
Published
A simple ACME client for Node.js
Readme
ACME
A simple ACME client for Node.js
Installation
$ npm install @giladno/acme --saveUsage
const ACME = require('@giladno/acme');
let account;
const client = new ACME(ACME.letsencrypt.staging, account);
account = await client.createAccount({email: '[email protected]'}); // 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 [email protected]
License
MIT
