mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-11-21 23:32:40 +01:00
Remove plaintext metadata from client certificate
This commit is contained in:
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user