<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TLS handshake error when connecting to pfSense OpenVPN]]></title><description><![CDATA[<p dir="auto">I am attempting to connect to an openvpn server I created in pfSense using Tunnelblick on a Mac. When I try to connect, there is an error in the TLS handshake. I have posted the error log for both pfSense and Tunnelblick below. I am using a local CA on the pfSense server, where I generated the certificates and keys for the client. Any help would be appreciated.</p>
<p dir="auto">pfSense openVPN log:</p>
<p dir="auto">Jul 10 09:20:54        openvpn[12430]: 128.151.105.61:49609 TLS: Initial packet from [AF_INET]128.151.105.61:49609, sid=e76a49a2 ebdf7007<br />
Jul 10 09:20:54        openvpn[12430]: 128.151.105.61:49609 Connection reset, restarting [0]<br />
Jul 10 09:20:54        openvpn[12430]: 128.151.105.61:49609 SIGUSR1[soft,connection-reset] received, client-instance restarting<br />
Jul 10 09:20:54        openvpn[12430]: TCP connection established with [AF_INET]128.151.105.61:49610<br />
Jul 10 09:20:55        openvpn[12430]: 128.151.105.61:49610 TLS: Initial packet from [AF_INET]128.151.105.61:49610, sid=87f9aad1 e0c35c73<br />
Jul 10 09:20:55        openvpn[12430]: 128.151.105.61:49610 Connection reset, restarting [0]<br />
Jul 10 09:20:55        openvpn[12430]: 128.151.105.61:49610 SIGUSR1[soft,connection-reset] received, client-instance restarting<br />
Jul 10 09:20:55        openvpn[12430]: TCP connection established with [AF_INET]128.151.105.61:49611<br />
Jul 10 09:20:56        openvpn[12430]: 128.151.105.61:49611 TLS: Initial packet from [AF_INET]128.151.105.61:49611, sid=ef674901 448ac457<br />
Jul 10 09:20:56        openvpn[12430]: 128.151.105.61:49611 Connection reset, restarting [0]<br />
Jul 10 09:20:56        openvpn[12430]: 128.151.105.61:49611 SIGUSR1[soft,connection-reset] received, client-instance restarting<br />
Jul 10 09:20:56        openvpn[12430]: TCP connection established with [AF_INET]128.151.105.61:49612<br />
Jul 10 09:20:57        openvpn[12430]: 128.151.105.61:49612 TLS: Initial packet from [AF_INET]128.151.105.61:49612, sid=e73730c6 71cad131<br />
Jul 10 09:20:57        openvpn[12430]: 128.151.105.61:49612 Connection reset, restarting [0]<br />
Jul 10 09:20:57        openvpn[12430]: 128.151.105.61:49612 SIGUSR1[soft,connection-reset] received, client-instance restarting<br />
Jul 10 09:20:58        openvpn[12430]: TCP connection established with [AF_INET]128.151.105.61:49613<br />
Jul 10 09:20:59        openvpn[12430]: 128.151.105.61:49613 TLS: Initial packet from [AF_INET]128.151.105.61:49613, sid=f7386ec6 cd1903e6<br />
Jul 10 09:20:59        openvpn[12430]: 128.151.105.61:49613 Connection reset, restarting [0]<br />
Jul 10 09:20:59        openvpn[12430]: 128.151.105.61:49613 SIGUSR1[soft,connection-reset] received, client-instance restarting<br />
Jul 10 09:20:59        openvpn[12430]: TCP connection established with [AF_INET]128.151.105.61:49614<br />
Jul 10 09:20:59        openvpn[12430]: 128.151.105.61:49614 Connection reset, restarting [0]<br />
Jul 10 09:20:59        openvpn[12430]: 128.151.105.61:49614 SIGUSR1[soft,connection-reset] received, client-instance restarting<br />
Jul 10 09:21:24        openvpn[12430]: MANAGEMENT: Client connected from /var/etc/openvpn/server1.sock<br />
Jul 10 09:21:24        openvpn[12430]: MANAGEMENT: CMD 'status 2'<br />
Jul 10 09:21:24        openvpn[12430]: MANAGEMENT: CMD 'quit'<br />
Jul 10 09:21:24        openvpn[12430]: MANAGEMENT: Client disconnected<br />
Jul 10 09:22:26        openvpn[12430]: MANAGEMENT: Client connected from /var/etc/openvpn/server1.sock<br />
Jul 10 09:22:26        openvpn[12430]: MANAGEMENT: CMD 'status 2'<br />
Jul 10 09:22:26        openvpn[12430]: MANAGEMENT: CMD 'quit'<br />
Jul 10 09:22:26        openvpn[12430]: MANAGEMENT: Client disconnected<br />
Jul 10 09:23:30        openvpn[12430]: MANAGEMENT: Client connected from /var/etc/openvpn/server1.sock<br />
Jul 10 09:23:30        openvpn[12430]: MANAGEMENT: CMD 'status 2'<br />
Jul 10 09:23:30        openvpn[12430]: MANAGEMENT: CMD 'quit'<br />
Jul 10 09:23:30        openvpn[12430]: MANAGEMENT: Client disconnected<br />
Jul 10 09:24:31        openvpn[12430]: MANAGEMENT: Client connected from /var/etc/openvpn/server1.sock<br />
Jul 10 09:24:31        openvpn[12430]: MANAGEMENT: CMD 'status 2'<br />
Jul 10 09:24:32        openvpn[12430]: MANAGEMENT: CMD 'quit'<br />
Jul 10 09:24:32        openvpn[12430]: MANAGEMENT: Client disconnected<br />
Jul 10 09:25:33        openvpn[12430]: MANAGEMENT: Client connected from /var/etc/openvpn/server1.sock<br />
Jul 10 09:25:33        openvpn[12430]: MANAGEMENT: CMD 'status 2'<br />
Jul 10 09:25:33        openvpn[12430]: MANAGEMENT: CMD 'quit'<br />
Jul 10 09:25:33        openvpn[12430]: MANAGEMENT: Client disconnected</p>
<p dir="auto">Tunnelblick log:</p>
<p dir="auto">2015-07-10 09:22:14 VERIFY ERROR: depth=0, error=self signed certificate: C=US, ST=State, L=Locality, O=pfSense webConfigurator Self-Signed Certificate, emailAddress=admin@pfSense.localdomain, CN=pfSense-559a8e35a90d9<br />
2015-07-10 09:22:14 TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed<br />
2015-07-10 09:22:14 TLS Error: TLS object -&gt; incoming plaintext read error<br />
2015-07-10 09:22:14 TLS Error: TLS handshake failed<br />
2015-07-10 09:22:14 Fatal TLS error (check_tls_errors_co), restarting</p>
]]></description><link>https://forum.netgate.com/topic/86441/tls-handshake-error-when-connecting-to-pfsense-openvpn</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 05:07:32 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/86441.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Jul 2015 13:34:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TLS handshake error when connecting to pfSense OpenVPN on Fri, 10 Jul 2015 17:22:21 GMT]]></title><description><![CDATA[<p dir="auto">That was the issue, I assumed that pfSense would automatically generate a certificate for the OpenVPN server if it was the certificate authority. Thank you!</p>
]]></description><link>https://forum.netgate.com/post/556463</link><guid isPermaLink="true">https://forum.netgate.com/post/556463</guid><dc:creator><![CDATA[cw12]]></dc:creator><pubDate>Fri, 10 Jul 2015 17:22:21 GMT</pubDate></item><item><title><![CDATA[Reply to TLS handshake error when connecting to pfSense OpenVPN on Fri, 10 Jul 2015 14:30:15 GMT]]></title><description><![CDATA[<pre><code>2015-07-10 09:22:14 VERIFY ERROR: depth=0, error=self signed certificate: C=US, ST=State, L=Locality, O=pfSense webConfigurator Self-Signed Certificate, emailAddress=admin@pfSense.localdomain, CN=pfSense-559a8e35a90d9
</code></pre>
<p dir="auto">Verify that you use the right certificate on the pfsense server. It seems that you are using the webConfigurator certificate.</p>
]]></description><link>https://forum.netgate.com/post/556418</link><guid isPermaLink="true">https://forum.netgate.com/post/556418</guid><dc:creator><![CDATA[hatimux]]></dc:creator><pubDate>Fri, 10 Jul 2015 14:30:15 GMT</pubDate></item></channel></rss>