fix: fix key gen

This commit is contained in:
Wyatt Preul 2017-09-08 10:22:24 -05:00 committed by Sérgio Ramos
parent d0e4bcd27e
commit ba6666433e
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -161,4 +161,5 @@ packages/ui-toolkit/styleguide/
packages/ui-toolkit/.snapguidist/
packages/*/package-lock.json
_env
_env*
keys*

View File

@ -20,7 +20,7 @@ mkdir -p $keys_path
openssl genrsa -aes256 -passout pass:$password -out $keys_path/ca.key 4096
chmod 400 $keys_path/ca.key
openssl req -new -x509 -sha256 -days 730 -key $keys_path/ca.key -out $keys_path/ca.crt -passin pass:$password -subj "/CN=$domain"
openssl req -new -x509 -sha256 -days 730 -key $keys_path/ca.key -out $keys_path/ca.crt -passin pass:$password -subj "/CN=copilot"
chmod 444 $keys_path/ca.crt