update README

This commit is contained in:
AJ ONeal 2018-11-18 03:27:42 -07:00
parent 996e19fe31
commit 6161eff921
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ECDSA-CSR.js
=========
Sponsored by [Root](https://therootcompany.com)
Sponsored by [Root](https://therootcompany.com), built for [ACME.js](https://git.coolaj86.com/coolaj86/acme.js) and [Greenlock.js](https://git.coolaj86.com/coolaj86/greenlock-express.js)
A focused, **zero-dependency** library that can do exactly one thing really, really well:
* Generate a Certificate Signing Requests (CSR), and sign it!
@ -38,7 +38,8 @@ var edsacsr = require('ecdsa-csr');
var domains = [ 'example.com', 'www.example.com', 'api.example.com' ];
return ecdsacsr({ key: key, domains: domains }).then(function (csr) {
console.log('CSR PEM:', csr);
console.log('CSR PEM:');
console.log(csr);
});
```