From ba6666433e73f4f3755705750b3f28dcb1bfb275 Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Fri, 8 Sep 2017 10:22:24 -0500 Subject: [PATCH] fix: fix key gen --- .gitignore | 3 ++- gen-keys.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7974e401..c952089f 100644 --- a/.gitignore +++ b/.gitignore @@ -161,4 +161,5 @@ packages/ui-toolkit/styleguide/ packages/ui-toolkit/.snapguidist/ packages/*/package-lock.json -_env +_env* +keys* diff --git a/gen-keys.sh b/gen-keys.sh index 807c52d1..a3643d00 100755 --- a/gen-keys.sh +++ b/gen-keys.sh @@ -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