[#177] Fixed hyphens in generate_cert.sh
script
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
This commit is contained in:
parent
c28d105a8f
commit
b3152e6887
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ if [[ ! -f $CA_KEY || ! -f $CA_CRT ]]; then
|
|||
fi
|
||||
|
||||
if [[ ! -f $SRV_KEY || ! -f $SRV_CRT ]]; then
|
||||
OUT=$(openssl req -newkey rsa:4096 -nodes --keyout $SRV_KEY -out $SRV_REQ -subj $SUBJ 2>&1 ) || {
|
||||
OUT=$(openssl req -newkey rsa:4096 -nodes -keyout $SRV_KEY -out $SRV_REQ -subj $SUBJ 2>&1 ) || {
|
||||
echo "Server certificate was not created"
|
||||
echo $OUT
|
||||
exit 1
|
||||
|
@ -43,7 +43,7 @@ if [[ ! -f $SRV_KEY || ! -f $SRV_CRT ]]; then
|
|||
fi
|
||||
|
||||
if [[ ! -f $CLI_KEY || ! -f $CLI_CRT ]]; then
|
||||
OUT=$(openssl req -newkey rsa:4096 -nodes --keyout $CLI_KEY -out $CLI_REQ -subj $SUBJ 2>&1) || {
|
||||
OUT=$(openssl req -newkey rsa:4096 -nodes -keyout $CLI_KEY -out $CLI_REQ -subj $SUBJ 2>&1) || {
|
||||
echo "Client certificate was not created"
|
||||
echo $OUT
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue