1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/mkcert.md

25 lines
568 B
Markdown
Raw Normal View History

2019-04-20 23:07:23 +02:00
# mkcert
> Tool for making locally-trusted development certificates.
> More information: <https://github.com/FiloSottile/mkcert>.
2019-04-20 23:07:23 +02:00
- Install the local CA in the system trust store:
`mkcert -install`
- Generate certificate and private key for a given domain:
`mkcert {{example.org}}`
2019-04-21 22:21:45 +01:00
- Generate certificate and private key for multiple domains:
2019-04-20 23:07:23 +02:00
`mkcert {{example.org}} {{myapp.dev}} {{127.0.0.1}}`
- Generate wildcard certificate and private key for a given domain and its subdomains:
`mkcert "{{*.example.it}}"`
2019-04-20 23:07:23 +02:00
- Uninstall the local CA:
`mkcert -uninstall`