Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Node CLI wrapper for `mkcert`

License

NotificationsYou must be signed in to change notification settings

tolu/mkcert-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkcert-cli

Node cli wrapper formkcert based entirely on the fantastic work done invite-plugin-mkcert.

Quick start

Create locally trusted development certificates in default folder$HOME/.mkcert-cli/certs

> npx -y mkcert-cli# => Created "dev.cert" and "dev.key" in $HOME/.mkcert-cli/certs

Options

--outDir or-o

Explicitly define output directory for files

> npx -y mkcert-cli --outDir.# => Created "dev.cert" and "dev.key" in ./

--cert /-c &--key /-k

Set file names, default todev.cert anddev.key

> npx -y mkcert-cli --outDir. --cert localhost.pem --key localhost.key# => Created "localhost.pem" and "localhost.key" in ./

--hosts

Custom hosts, default value islocalhost +local ip addrs.

To pass multiple values, just pass several named args.

> npx -y mkcert-cli --host localhost --host my-site.local# => Created "dev.cert" and "dev.key" for ["localhost", "my-site.local"]

Other flags

--help /-h: Display help text

npx -y mkcert-cli -h

-f /--force: Force

Force regenerate certificate files

npx -y mkcert-cli -f

-u /--upgrade: Auto upgrade mkcert bin

Install latest version of mkcert that's available before generating certificates.

npx -y mkcert-cli -u

Thanks

About

Node CLI wrapper for `mkcert`

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp