diff --git a/scripts/install-openvpn.sh b/scripts/install-openvpn.sh index 42a4244..7fdf9b1 100755 --- a/scripts/install-openvpn.sh +++ b/scripts/install-openvpn.sh @@ -108,6 +108,7 @@ printf "\n################## Setup OpenVPN ##################\n" # Copy certificates and the server configuration in the openvpn directory cp /etc/openvpn/easy-rsa/pki/{ca.crt,ta.key,issued/server.crt,private/server.key,dh.pem} "/etc/openvpn/" +chmod +r /etc/openvpn/{ca.crt,ta.key} cp "$base_path/../configs/server.conf" "/etc/openvpn/" mkdir -p "/etc/openvpn/ccd" sed -i "