References: <20210512131511.1309914-1-arne@...1227...> <20210512131511.1309914-10-arne@...1227...> From: Arne Schwabe Message-ID: <6a826481-8afd-e164-e915-489d6a57040f@...1227...> Date: Tue, 18 May 2021 14:21:21 +0200 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB Subject: Re: [Openvpn-devel] [PATCH 9/9] Add detailed man page section to setup a OpenVPN setup with peer-fingerprint List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: tincantech Cc: "openvpn-devel@lists.sourceforge.net" Am 17.05.21 um 19:16 schrieb tincantech: > Hi, > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Wednesday, 12 May 2021 14:15, Arne Schwabe wrote: > >> This is meant to give new users a quickstart for a useable OpenVPN >> setup. Our own documentation is lacking in this regard and many often >> tutorials that can be found online are often questionable in some >> aspects. > > > I believe Openvpn in standard mode (Full PKI) would reject an expired > client certificate. > > Note: There is absolutely nothing in the manual to confirm this ! > https://build.openvpn.net/man/openvpn-2.5/openvpn.8.html > On that page there are eight uses of the word 'expire' and they all > relate to an expired auth-token, this could also probably be improved. > > However, Openvpn in peer-fingerprint mode allows an expired client > certificate to connect. > > The client log *does* have a 'WARNING: Your certificate has expired!' > The server log has nothing about an expired client certificate. > And, as we all know, _who reads their log files_ anyway ? > > The issue here is that the server allows an expired client certificate > to connect and there is no mention of this change in behaviour. Yes. We just trust the fingerprint of the certificate. The behaviour to ignore expiry is a side effect of that. It is kinda designed to be this way. Arne