@brandonkal/devcert-cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

devcert-cli

I have modified this to fix some bugs that have not yet been fixed. Unmerged pull requests to set the CA to expire in 7000 days and to fix the NSS check on Mac have been merged to my own fork, and changed to be the new devcert dependency.

A CLI wrapper for devcert, to manage development SSL/TLS certificates and domains

Version Downloads/week License

Usage

$ npm install -g devcert-cli
$ devcert COMMAND
running command...
$ devcert (-v|--version|version)
devcert-cli/1.0.0 darwin-x64 node-v9.11.0
$ devcert --help [COMMAND]
USAGE
  $ devcert COMMAND
...

Commands

devcert disable [DOMAIN]

delete the cached certificate for a domain

USAGE
  $ devcert disable [DOMAIN]

See code: src/commands/disable.ts

devcert generate [DOMAIN]

generate an SSL/TLS private key and certificate for a domain

USAGE
  $ devcert generate [DOMAIN]

OPTIONS
  --skipCertutilInstall  don't attempt to install nss / certutil tooling (needed on some platforms to automate setup)
  --skipHostsFile        don't attempt to modify the /etc/hosts file to support custom domains

See code: src/commands/generate.ts

devcert help [COMMAND]

display help for devcert

USAGE
  $ devcert help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

devcert list

list the domains that devcert has generated a certificate for

USAGE
  $ devcert list

EXAMPLE
  $ devcert list
  Configured domains:

  my-app.test
  client-project.test

See code: src/commands/list.ts

Readme

Keywords

Package Sidebar

Install

npm i @brandonkal/devcert-cli

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

9.17 kB

Total Files

13

Last publish

Collaborators

  • brandonkal