diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index a17f7d5..934ede1 100644 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -475,6 +475,7 @@ if [ "$OPENVPN" = "yes" ]; then # openvpn --genkey --secret static.key #fi if [ -f "/etc/openvpn/server/server.crt" ]; then + make-cadir /etc/openvpn/ca cp /etc/openvpn/server/ca.crt /etc/openvpn/ca/pki/ca.crt cp /etc/openvpn/server/ca.key /etc/openvpn/ca/pki/private/ca.key cp /etc/openvpn/server/server.crt /etc/openvpn/ca/pki/issued/server.crt