mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-12-22 06:48:55 +00:00
Fix the wrong client config when the certificate contains END string (#1067)
This commit is contained in:
parent
8e427ee9c2
commit
039ebaafe1
@ -1125,7 +1125,7 @@ function newClient() {
|
||||
echo "</ca>"
|
||||
|
||||
echo "<cert>"
|
||||
awk '/BEGIN/,/END/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
|
||||
awk '/BEGIN/,/END CERTIFICATE/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
|
||||
echo "</cert>"
|
||||
|
||||
echo "<key>"
|
||||
|
Loading…
Reference in New Issue
Block a user