]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
doc: Document potential filesystem pitfalls of client-config-dir
authorFrank Lichtenheld <frank@lichtenheld.com>
Wed, 19 Nov 2025 13:52:38 +0000 (14:52 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 19 Nov 2025 14:32:24 +0000 (15:32 +0100)
Reported-By: stefan@srlabs.de
Change-Id: I23ea00dbd62271838aa72e913b743cc679ff2386
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1380
Message-Id: <20251119135243.30967-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34541.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/server-options.rst

index 5243a060b07992a0fd015d02526278e0f86b0a87..739be220cd1248fbc9143908ecbffa8b4df09e76 100644 (file)
@@ -144,6 +144,16 @@ fast hardware. SSL/TLS authentication must be used in this mode.
   ``--push-reset``, ``--push-remove``, ``--iroute``, ``--ifconfig-push``,
   ``--vlan-pvid`` and ``--config``.
 
+  **Note:** OpenVPN uses the CN exactly as written in the certificate.
+  But since this is a file access the filesystem might interfere.
+  Importantly OpenVPN will consider two CNs that only differ in case as
+  different names but a case-insensitive filesystem (like you might
+  encounter on Windows or macOS) will treat them as the same. When you
+  generate your certificates make sure that the CNs are sufficiently
+  different to not cause issues. When trusting an external CA note that
+  this is a potential attack vector via maliciously generated
+  certificates that exploit this issue.
+
 --client-to-client
   Because the OpenVPN server mode handles multiple clients through a
   single tun or tap interface, it is effectively a router. The