Hello,
I am trying to make a VPN connection with username, password and client certificate, but when I try to connect I get this message:
Connection Failed
Error Message: ssl_context_error:
OpenSSL Context: CA not defined
This is how the VPN is configured:
On the Opnsense (v 20.1) I have a OpenVPN Server. Servermode is SSL/TLS + User Auth. The interface is the WAN Interface. TLS authentication is active. The right CA is activated. As server certificate the certificate for the VPN is activated. Certificate depth is One (Client + Server). I added a new user, gave him a password and created a user certificate. Whe I created the user certificate I created an internal certificate with the CA of the VPN and the type client certificate. I exported the archive and importet it in the client. I added the user certificate in the client and in the profile. When I try to connect I get the error. Any ideas what the problem might be. Thanks.
Darius
What VPN client do you use?
You should use ovpn community edition, ovpn connect is used for other purposes.
I use OpenVPN Connect, but I will try open vpn community edition.
With the OpenVPN GUI client from the community downloads it is now working. Thank you very much.
Hi,
with which operating system do you use the OpenVPN community edition?
Cheers
hloiter