From 5862d15d60da4ca287997dce148dc8beb0322002 Mon Sep 17 00:00:00 2001 From: IcedComputer <31418197+IcedComputer@users.noreply.github.com> Date: Tue, 27 Aug 2019 12:42:53 -0700 Subject: [PATCH] Update scripts/makeOVPN.sh Co-Authored-By: Giraffe1966 <35208168+Giraffe1966@users.noreply.github.com> --- scripts/makeOVPN.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makeOVPN.sh b/scripts/makeOVPN.sh index 66a25c0..788873e 100755 --- a/scripts/makeOVPN.sh +++ b/scripts/makeOVPN.sh @@ -281,7 +281,7 @@ if [ "$iOS" = "1" ]; then printf "========================================================\n" openssl pkcs12 -passin pass:$PASSWD -passin pass:$PASSWD -export -in issued/${NAME}${CRT} -inkey private/${NAME}${KEY} -certfile ${CA} -name ${NAME} -out /home/$INSTALL_USER/ovpns/$NAME.ovpn12 chown "$INSTALL_USER" "/home/$INSTALL_USER/ovpns/$NAME.ovpn12" - chmod o-r "/home/$INSTALL_USER/ovpns/$NAME.ovpn12" + chmod 600 "/home/$INSTALL_USER/ovpns/$NAME.ovpn12" printf "========================================================\n" printf "\e[1mDone! %s successfully created!\e[0m \n" "$NAME.ovpn12" printf "You will need to transfer both the .ovpn and .ovpn12 files\n"