• Version 0.3.3
  • Published
  • 16 dependencies
  • MIT license


npm i devcert-san
yarn add devcert-san
pnpm add devcert-san


Generate trusted local SSL/TLS certificates for local SSL development





function devcert

devcert: (
appName: string,
options?: { installCertutil?: boolean }
) => Promise<{ keyPath: string; certPath: string; key: any; cert: any }>;
  • Request an SSL certificate for the given app name signed by the devcert root certificate authority. If devcert has previously generated a certificate for that app name on this machine, it will reuse that certificate.

    If this is the first time devcert is being run on this machine, it will generate and attempt to install a root certificate authority.

    Returns a promise that resolves with { keyPath, certPath, key, cert }, where key and cert are Buffers with the contents of keyPath and certPath, respectively.


namespace command-exists

module 'command-exists' {}

    namespace eol

    module 'eol' {}

      Package Files (2)

      Dependencies (16)

      Dev Dependencies (2)

      Peer Dependencies (0)

      No peer dependencies.


      To add a badge like this badgeto your package's README, use the codes available below.

      You may also use to create a custom badge linking to

      • Markdown
      • HTML
        <a href=""><img src="" alt=""></a>