fix: fix key gen
This commit is contained in:
parent
d0e4bcd27e
commit
ba6666433e
3
.gitignore
vendored
3
.gitignore
vendored
@ -161,4 +161,5 @@ packages/ui-toolkit/styleguide/
|
|||||||
packages/ui-toolkit/.snapguidist/
|
packages/ui-toolkit/.snapguidist/
|
||||||
packages/*/package-lock.json
|
packages/*/package-lock.json
|
||||||
|
|
||||||
_env
|
_env*
|
||||||
|
keys*
|
||||||
|
@ -20,7 +20,7 @@ mkdir -p $keys_path
|
|||||||
|
|
||||||
openssl genrsa -aes256 -passout pass:$password -out $keys_path/ca.key 4096
|
openssl genrsa -aes256 -passout pass:$password -out $keys_path/ca.key 4096
|
||||||
chmod 400 $keys_path/ca.key
|
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
|
chmod 444 $keys_path/ca.crt
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user