Skip to content

Commit 8d27822

Browse files
flichtenheldcron2
authored andcommitted
doc: Document potential filesystem pitfalls of client-config-dir
Reported-By: [email protected] Change-Id: I23ea00dbd62271838aa72e913b743cc679ff2386 Signed-off-by: Frank Lichtenheld <[email protected]> Acked-by: Gert Doering <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1380 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg34541.html Signed-off-by: Gert Doering <[email protected]>
1 parent 2777cdd commit 8d27822

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/man-sections/server-options.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,16 @@ fast hardware. SSL/TLS authentication must be used in this mode.
144144
``--push-reset``, ``--push-remove``, ``--iroute``, ``--ifconfig-push``,
145145
``--vlan-pvid`` and ``--config``.
146146

147+
**Note:** OpenVPN uses the CN exactly as written in the certificate.
148+
But since this is a file access the filesystem might interfere.
149+
Importantly OpenVPN will consider two CNs that only differ in case as
150+
different names but a case-insensitive filesystem (like you might
151+
encounter on Windows or macOS) will treat them as the same. When you
152+
generate your certificates make sure that the CNs are sufficiently
153+
different to not cause issues. When trusting an external CA note that
154+
this is a potential attack vector via maliciously generated
155+
certificates that exploit this issue.
156+
147157
--client-to-client
148158
Because the OpenVPN server mode handles multiple clients through a
149159
single tun or tap interface, it is effectively a router. The

0 commit comments

Comments
 (0)