getclient: Use openssl to prune comments
* The EasyRSA tools create a certificate file with all the metadata readable. This makes the config file larger then it needs to be, so prune it. * Retrieve text files with `openssl x509 -in <crt> -noout -text`
This commit is contained in:
parent
e3655b5115
commit
6aca273d89
@ -45,7 +45,7 @@ remote $OVPN_CN $OVPN_PORT $OVPN_PROTO
|
|||||||
$(cat $EASYRSA_PKI/private/${cn}.key)
|
$(cat $EASYRSA_PKI/private/${cn}.key)
|
||||||
</key>
|
</key>
|
||||||
<cert>
|
<cert>
|
||||||
$(cat $EASYRSA_PKI/issued/${cn}.crt)
|
$(openssl x509 -in $EASYRSA_PKI/issued/${cn}.crt)
|
||||||
</cert>
|
</cert>
|
||||||
<ca>
|
<ca>
|
||||||
$(cat $EASYRSA_PKI/ca.crt)
|
$(cat $EASYRSA_PKI/ca.crt)
|
||||||
|
Loading…
Reference in New Issue
Block a user