diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index e9dc01f..4d57a27 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -45,7 +45,7 @@ remote $OVPN_CN $OVPN_PORT $OVPN_PROTO $(cat $EASYRSA_PKI/private/${cn}.key) -$(cat $EASYRSA_PKI/issued/${cn}.crt) +$(openssl x509 -in $EASYRSA_PKI/issued/${cn}.crt) $(cat $EASYRSA_PKI/ca.crt)