cert-unbundle
turn a certificate bundle into an array of certificates you can pass to
tls as the opts.ca
example
split
var fs =var unbundle = ;var certs = ;console;
server
var fs =var https = ;var unbundle = ;var certs = ;var opts = ca: certs ;var server = https;server;
methods
var unbundle =
var certs = unbundle(certContents)
Return an array of certificate strings certs
from a buffer or string of the
bundled certContents
.
install
With npm do:
npm install cert-unbundle
license
MIT