mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-07 07:14:18 +01:00
Remove plaintext metadata from client certificate
This commit is contained in:
parent
3763d8708f
commit
8d5d080cc0
@ -966,7 +966,7 @@ function newClient () {
|
||||
echo "</ca>"
|
||||
|
||||
echo "<cert>"
|
||||
cat "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
|
||||
cat "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt" | awk '/BEGIN/,/END/'
|
||||
echo "</cert>"
|
||||
|
||||
echo "<key>"
|
||||
|
Loading…
Reference in New Issue
Block a user