Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.72 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.72 KB

Make Cert

build_status github license github issues github last commit github repo size docker stars docker pulls

A fast and simple way to generate CA and SSL certificates for your local dev environment

How to run

To create certificate with pkcs12 in your current directory:

docker run -v $PWD:/root/.local/share/mkcert brunopadz/mkcert-docker:latest /bin/sh -c "test ! -f mkcert.key && mkcert -install && mkcert -cert-file mkcert.pem -key-file mkcert.key localhost.dev && openssl pkcs12 -export -out mkcert.pfx -in mkcert.pem -inkey mkcert.key -certfile rootCA.pem -passout pass:123;"

or

docker run -v ${PWD}:/root/.local/share/mkcert brunopadz/mkcert-docker:latest /bin/sh -c "test ! -f mkcert.key && mkcert -install && mkcert -cert-file mkcert.pem -key-file mkcert.key localhost.dev && openssl pkcs12 -export -out mkcert.pfx -in mkcert.pem -inkey mkcert.key -certfile rootCA.pem -passout pass:123;"