OpenVPN Client issue
When i try to upload a ovpn file with a cert and key block i get a Error code 1, but with the same settings section and the cert block removed, only the ca + key block left it imports without any Error code 1.
This leads me to suspect that this model only supports username and password auth and not cert key pair for auth, can any one comfirm this?
This works:
client
dev tun
proto udp
remote REDACTED
port 444
keepalive 10 60
comp-lzo no
auth SHA1
cipher AES-128-GCM
verb 3
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<key>
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
</key>
But adding below to the end of the file fails:
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</cert>
I have checked the file with a hex editor and the cert and key section has no white space, the whole file is UTF-8 and line endings is LF.
Total file size is 5638 bytes.
I have check the cert with OpenSSL and its good. The issue date is earlier today. It matches with the CA.
