From b56950dc33ceecffd088e39d0c333cca6681d6f8 Mon Sep 17 00:00:00 2001 From: Paul Rock Date: Tue, 30 Jan 2018 20:02:01 +0300 Subject: [PATCH] certs available for read now --- scripts/install-openvpn.sh | 1 + 1 file changed, 1 insertion(+) 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 "