diff --git a/openvpn-install.sh b/openvpn-install.sh
index 64d8ed0..4bdc587 100755
--- a/openvpn-install.sh
+++ b/openvpn-install.sh
@@ -1125,7 +1125,7 @@ function newClient() {
echo ""
echo ""
- awk '/BEGIN/,/END/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
+ awk '/BEGIN/,/END CERTIFICATE/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
echo ""
echo ""