devcert-san
- Version 0.3.3
- Published
- 16 dependencies
- MIT license
Install
npm i devcert-san
yarn add devcert-san
pnpm add devcert-san
Overview
Generate trusted local SSL/TLS certificates for local SSL development
Index
Functions
Namespaces
Functions
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
andcert
are Buffers with the contents ofkeyPath
andcertPath
, respectively.
Namespaces
namespace command-exists
module 'command-exists' {}
namespace eol
module 'eol' {}
Package Files (2)
Dependencies (16)
Dev Dependencies (2)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/devcert-san
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/devcert-san)
- HTML<a href="https://www.jsdocs.io/package/devcert-san"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2137 ms. - Missing or incorrect documentation? Open an issue for this package.