Small helper scripts to manage dev certificates
-
Generate root certificate once, using
./genca.sh
It will output a root certificate root.crt in
%USERPROFILE%\certs
. Intall this certificate as Trusted Root Certificate Authority. -
Generate as many certificates for development using
./gencert.sh --help
- .crt, .key, .pfx files will be exported in
%USERPROFILE%\certs\<commonname>
- .key and .pfx files default password will be
certpass
unless manually supplied - Following will be included as subjects name
- hostname of computer
- localhost
- IP addresses of all interfaces including loopback addresses
- .crt, .key, .pfx files will be exported in
bash (Git Bash) powershell