openvpn TLS handshake failed

From thelinuxwiki
Revision as of 04:54, 29 March 2024 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

problem

openvpn connection fails

errors

VERIFY ERROR: depth=0, error=unable to get local issuer certificate: CN=johnsmith vpnserver openvpn[3573]: 192.168.1.100:60754 TLS_ERROR: BIO read tls_read_plaintext error: error:140890B2:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:no certificate returned vpnserver openvpn[3573]: 192.168.1.100:60754 TLS Error: TLS object -> incoming plaintext read error vpnserver openvpn[3573]: 192.168.1.100:60754 TLS Error: TLS handshake failed

root cause

certificate issue.

solution

generate and new crt and key with the appropriate CA