https-auto
v0.6.2
Published
https with auto configuration
Downloads
3
Readme
AutoBootHttps
Functionality to automatically configure a http server with keys generated by a self signed Certificate Authority (project github.com/ )
AutoBootHttps ensures:
- loading of the keys from a CA server. The first time it starts, it will prompt for a configuration key generate in CA authority web interface
- store and use the certificates for future restarts
#New API
startServer(port, keysFolder, function (req, res))
startMutualAuthServer(port, keysFolder, function (req, res)) // https server that require mutual authentication
getHttpsOptions = functions(keysFolder, requestCert, rejectUnauthorized, function(err,options)) // you can use this function to get control of options