mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 07:40:05 +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 "</ca>"
|
||||||
|
|
||||||
echo "<cert>"
|
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 "</cert>"
|
||||||
|
|
||||||
echo "<key>"
|
echo "<key>"
|
||||||
|
Loading…
Reference in New Issue
Block a user