diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index e9dc01f..0906886 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -50,9 +50,6 @@ $(cat $EASYRSA_PKI/issued/${cn}.crt) $(cat $EASYRSA_PKI/ca.crt) - -$(cat $EASYRSA_PKI/dh.pem) - $(cat $EASYRSA_PKI/ta.key) @@ -63,7 +60,6 @@ key-direction 1 key ${cn}.key ca ca.crt cert ${cn}.crt -dh dh.pem tls-auth ta.key 1 $OVPN_ADDITIONAL_CLIENT_CONFIG " @@ -86,7 +82,6 @@ case "$parm" in cp "$EASYRSA_PKI/private/${cn}.key" "$dir/${cn}.key" cp "$EASYRSA_PKI/ca.crt" "$dir/ca.crt" cp "$EASYRSA_PKI/issued/${cn}.crt" "$dir/${cn}.crt" - cp "$EASYRSA_PKI/dh.pem" "$dir/dh.pem" cp "$EASYRSA_PKI/ta.key" "$dir/ta.key" ;; "" | "combined")