Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vavyskov/docker-mkcert
Simple tool for making locally-trusted development certificates
https://github.com/vavyskov/docker-mkcert
Last synced: 3 months ago
JSON representation
Simple tool for making locally-trusted development certificates
- Host: GitHub
- URL: https://github.com/vavyskov/docker-mkcert
- Owner: vavyskov
- License: cc0-1.0
- Created: 2021-09-13T08:22:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-20T11:38:44.000Z (over 2 years ago)
- Last Synced: 2024-06-21T13:32:01.181Z (5 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - vavyskov/docker-mkcert - Simple tool for making locally-trusted development certificates (others)
README
# docker-mkcert
Simple tool for making locally-trusted development certificates
Supported tags and respective `Dockerfile` links:
- [`1.4.3-1.1.0`](https://github.com/vavyskov/docker-mkcert/tree/master/1.4.3/alpine3.16)Usage:
docker run --rm -v $PWD:/root/.local/share/mkcert vavyskov/mkcert:1.4.3-1.1.0
docker run --rm \
-v $PWD:/certificates \
-e CAROOT="/certificates" \
-e MKCERT_HOSTNAMES="*.localhost.dev *.localhost.test *.example.com *.example.net \
*.example.org *.example.edu project.corp project.domain project.example project.home \
project.host project.invalid project.lan project.local project.localdomain" \
-e HOST_USER_ID="1000" \
-e HOST_USER_NAME="user" \
vavyskov/mkcert:1.4.3-1.1.0## Adding trusted root certificate authority
1. Operating system
- **Linux (Debian)**:sudo cp rootCA.pem /usr/local/share/ca-certificates/
sudo update-ca-certificates2. Browsers:
- **Chrome**: Settings -> Privacy and security -> Security -> Manage certificates -> Authorities -> Import (rootCA.pem)