<?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[OpenVPN with Remote Access (SSL&#x2F;TLS + User Auth) &#x2F;&#x2F; Auth Certificate issue]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have Install and configure OpenVPN on Pfsense with  (SSL/TLS + User Auth).</p>
<pre><code>Remote Access (SSL/TLS + User Auth)
Requires both certificates and username/password
Each user has a unique client configuration which includes their personal certificate and key
Most secure as there are multiple factors of authentication (TLS Key and Certificate that the user has, and the username/password they know)
</code></pre>
<p dir="auto">Everything is working fine, but suppose I have two users, A and B. When I try to connect with the profile (file .ovpn) of user B using the credentials of user A, it works.<br />
Additionally, when I remove the certificate of user A, for example, they can still connect to the VPN.<br />
My goal is, to link each user two his certificate and .ovpn file and if I remove the user certificate of a specific user, the .ovpn file becomes obsolete.<br />
Can you please help me understand and correct my configuration if needed?</p>
<p dir="auto">Best regards."</p>
<p dir="auto">BR.</p>
]]></description><link>https://forum.netgate.com/topic/185323/openvpn-with-remote-access-ssl-tls-user-auth-auth-certificate-issue</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 05:32:14 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/185323.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Jan 2024 17:00:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenVPN with Remote Access (SSL&#x2F;TLS + User Auth) &#x2F;&#x2F; Auth Certificate issue on Thu, 04 Jan 2024 18:44:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/diablo666-0">@<bdi>Diablo666-0</bdi></a> said in <a href="/post/1146200">OpenVPN with Remote Access (SSL/TLS + User Auth) // Auth Certificate issue</a>:</p>
<blockquote>
<p dir="auto">Everything is working fine, but suppose I have two users, A and B. When I try to connect with the profile (file .ovpn) of user B using the credentials of user A, it works.</p>
</blockquote>
<p dir="auto">To avoid this, go to the server settings and check "Strict User-CN Matching" in the "Cryptographic Settings" section.<br />
Ensure that the CN in the client certificate matches the username.</p>
<blockquote>
<p dir="auto">Additionally, when I remove the certificate of user A, for example, they can still connect to the VPN.</p>
</blockquote>
<p dir="auto">Removing a valid client certificate is a bad idea at all. This cannot prohibit that the OpenVPN server is accepting it, because the server only verifies that the delivered client certificate is singed by the CA in use.<br />
To reject a client certificate you have to revoke it instead.</p>
<p dir="auto">Maybe you need to create a revocation list first (System &gt; Certificates &gt; Revocation) and add it the the OpenVPN server then.</p>
<p dir="auto">You may remove a certificate after its expiration though.</p>
]]></description><link>https://forum.netgate.com/post/1146222</link><guid isPermaLink="true">https://forum.netgate.com/post/1146222</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Thu, 04 Jan 2024 18:44:41 GMT</pubDate></item></channel></rss>