Merge pull request #54 from pushrax/remove-dh-client-config

Remove dh param from client config
This commit is contained in:
Kyle Manna 2015-08-05 06:38:23 -07:00
commit d89cbe5ba3

View File

@ -50,9 +50,6 @@ $(cat $EASYRSA_PKI/issued/${cn}.crt)
<ca> <ca>
$(cat $EASYRSA_PKI/ca.crt) $(cat $EASYRSA_PKI/ca.crt)
</ca> </ca>
<dh>
$(cat $EASYRSA_PKI/dh.pem)
</dh>
<tls-auth> <tls-auth>
$(cat $EASYRSA_PKI/ta.key) $(cat $EASYRSA_PKI/ta.key)
</tls-auth> </tls-auth>
@ -63,7 +60,6 @@ key-direction 1
key ${cn}.key key ${cn}.key
ca ca.crt ca ca.crt
cert ${cn}.crt cert ${cn}.crt
dh dh.pem
tls-auth ta.key 1 tls-auth ta.key 1
$OVPN_ADDITIONAL_CLIENT_CONFIG $OVPN_ADDITIONAL_CLIENT_CONFIG
" "
@ -86,7 +82,6 @@ case "$parm" in
cp "$EASYRSA_PKI/private/${cn}.key" "$dir/${cn}.key" cp "$EASYRSA_PKI/private/${cn}.key" "$dir/${cn}.key"
cp "$EASYRSA_PKI/ca.crt" "$dir/ca.crt" cp "$EASYRSA_PKI/ca.crt" "$dir/ca.crt"
cp "$EASYRSA_PKI/issued/${cn}.crt" "$dir/${cn}.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" cp "$EASYRSA_PKI/ta.key" "$dir/ta.key"
;; ;;
"" | "combined") "" | "combined")