https-auto

0.6.2 • Public • Published

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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i https-auto

    Weekly Downloads

    3

    Version

    0.6.2

    License

    none

    Last publish

    Collaborators

    • salboaie