Hi All
I've got a router set-up as OVPN server with all the corresponding certificates (which I created locally on the router) and I've connected about 20 remote routers to it successfully.
I'm now trying to configure my Windows 10 machine to also use OpenVPN but it refuses to connect, complaining about the certificates. I've created new certificates and also tried existing ones but it's not happy.
Connection looks good till it starts with this ...
2020-11-13 10:51:26 VERIFY ERROR: depth=0, error=unsupported certificate purpose: CN=MY-CA, serial=01234567890123456789
2020-11-13 10:51:26 OpenSSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
2020-11-13 10:51:26 TLS_ERROR: BIO read tls_read_plaintext error
2020-11-13 10:51:26 TLS Error: TLS object -> incoming plaintext read error
2020-11-13 10:51:26 TLS Error: TLS handshake failed
2020-11-13 10:51:26 Fatal TLS error (check_tls_errors_co), restarting
Windows config ....
tls-client
pull
remote 1.2.3.4
nobind
dev tun
proto tcp-client
port 1194
ca C:\\Users\\someone\\OpenVPN\\config\\cert_export_MY-CA.crt
key C:\\Users\\someone\\OpenVPN\\config\\cert_export_MY-CA.key
cert C:\\Users\\someone\\OpenVPN\\config\\cert_export_Office.crt
key C:\\Users\\someone\\OpenVPN\\config\\cert_export_Office.key
;comp-lzo
persist-tun
persist-key
cipher AES-128-CBC
verb 3
#verify-x509-name server name
remote-cert-tls server
#ns-cert-type server
auth SHA1
auth-user-pass
auth-nocache
Any ideas?
Thanks,
R