Cancel configuration if certificate is invalid (ks-upv/upa/upf/upr)
This commit is contained in:
parent
f5f32b9208
commit
faead28243
|
@ -677,6 +677,8 @@ function createConfig() {
|
|||
echo "* PEM file copied to ${dirConfig}/connect.pem"
|
||||
else
|
||||
echo "+ File ${pem_path} does not exist"
|
||||
echo "+ The configuration is cancelled"
|
||||
exit
|
||||
fi
|
||||
else
|
||||
raw_password_enter=${PASS}
|
||||
|
|
|
@ -704,6 +704,8 @@ function createConfig() {
|
|||
echo "* PEM file copied to ${dirConfig}/connect.pem"
|
||||
else
|
||||
echo "+ File ${pem_path} does not exist"
|
||||
echo "+ The configuration is cancelled"
|
||||
exit
|
||||
fi
|
||||
else
|
||||
raw_password_enter=${PASS}
|
||||
|
|
|
@ -563,6 +563,8 @@ function createConfig() {
|
|||
echo "* PEM file copied to ${dirConfig}/connect.pem"
|
||||
else
|
||||
echo "+ File ${pem_path} does not exist"
|
||||
echo "+ The configuration is cancelled"
|
||||
exit
|
||||
fi
|
||||
else
|
||||
raw_password_enter=${PASS}
|
||||
|
|
|
@ -677,6 +677,8 @@ function createConfig() {
|
|||
echo "* PEM file copied to ${dirConfig}/connect.pem"
|
||||
else
|
||||
echo "+ File ${pem_path} does not exist"
|
||||
echo "+ The configuration is cancelled"
|
||||
exit
|
||||
fi
|
||||
else
|
||||
raw_password_enter=${PASS}
|
||||
|
|
Loading…
Reference in New Issue
Block a user