Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopadz committed Mar 3, 2019
1 parent 40a476f commit 2e08fee
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# mkcert-docker

> A fast and simple way to generate CA and SSL certificates for your local dev environment
### How to run

__Create CA and PEM certificate__

```
docker run -v $PWD:/root/.local/share/mkcert brunopadz/mkcert-docker:latest \
/bin/sh -c "mkcert -install && \
mkcert -cert-file /root/.local/share/mkcert/mkcert.pem \
-key-file /root/.local/share/mkcert/mkcert.key localhost.dev"
```

### Why?

Well, because it's faster running a docker container than installing via and running using your package manager.

0 comments on commit 2e08fee

Please sign in to comment.