apem
1.0.4 • Public • Published apem
Pem generator
Installation
$ npm install apem --save
Usage
'use strict'
const { selfSigned } = require('apem')
const co = require('co')
const writeout = require('writeout')
co(function * () {
{
let { key, cert } = yield selfSigned()
yield writeout('www.example.com.crt', cert)
yield writeout('www.example.com.key', key)
}
}).catch((err) => console.error(err))
Functions
Available functions
Signature |
Description |
.selfSigned() -> Promise.<Object> |
Create self-signed cert and keys |
License
This software is released under the MIT License.
Links
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads