From: "cron2 (Code Review)" Date: Wed, 10 Dec 2025 09:19:23 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <56aed7e486288cc05db3a896531d972e7ea5ce8c-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="0p2RSCHqIqw="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Correct documentation for --ns-cert-type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --0p2RSCHqIqw= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/14= 28?usp=3Demail ) Change subject: Correct documentation for --ns-cert-type ...................................................................... Correct documentation for --ns-cert-type Our documentation claimed this option was removed. But it was not, for compatiblity reasons. So reflect the correct status. Change-Id: I1d1851eaebe8bf66c92dac3c8c10f68b1ec3ef33 Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1428 Message-Id: <20251210085625.32174-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34= 984.html Signed-off-by: Gert Doering --- M doc/man-sections/tls-options.rst M doc/man-sections/unsupported-options.rst 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/doc/man-sections/tls-options.rst b/doc/man-sections/tls-option= s.rst index 846dfdd..c4aa810 100644 --- a/doc/man-sections/tls-options.rst +++ b/doc/man-sections/tls-options.rst @@ -222,6 +222,17 @@ ``--cert file`` above). URI is supported only when built with OpenSSL 3.0 or later and any required providers are loaded. (See ``--cert`` for more= details). +--ns-cert-type type + **DEPRECATED** The ``--remote-cert-tls`` option should be used instead. + The option is still available since it can't be silently ignored and nee= ds + updates to certificates and configs on both sides of the connection. + However it should not be used for new clients or servers. It depends on = the + deprecated ``nsCertType`` certificate field. + + Might not work depending on the TLS library used. + + Will be removed in a future release. + --pkcs12 file Specify a PKCS #12 file containing local private key, local certificate, and root CA certificate. This option can be used instead of ``--ca``, diff --git a/doc/man-sections/unsupported-options.rst b/doc/man-sections/un= supported-options.rst index 6e77333..b646991 100644 --- a/doc/man-sections/unsupported-options.rst +++ b/doc/man-sections/unsupported-options.rst @@ -44,12 +44,6 @@ VPN tunnel security. Previously we claimed to have removed this in OpenVPN 2.5, but this wasn't actually the case. ---ns-cert-type - Removed in OpenVPN 2.5. The ``nsCertType`` field is no longer supported - in recent SSL/TLS libraries. If your certificates does not include *key - usage* and *extended key usage* fields, they must be upgraded and the - ``--remote-cert-tls`` option should be used instead. - --prng Removed in OpenVPN 2.6. We now always use the PRNG of the SSL library. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1428?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I1d1851eaebe8bf66c92dac3c8c10f68b1ec3ef33 Gerrit-Change-Number: 1428 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --0p2RSCHqIqw= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

Correct documentation for --ns-cert-type

= Our documentation claimed this option was removed.
But it was not, for c= ompatiblity reasons. So reflect
the correct status.

Change-Id: I1= d1851eaebe8bf66c92dac3c8c10f68b1ec3ef33
Signed-off-by: Frank Lichtenheld= <frank@...2641...>
Acked-by: Gert Doering <gert@...1296...>=
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1428
Message-Id: = <20251210085625.32174-1-gert@...1296...>
URL: https://www.mail-arc= hive.com/openvpn-devel@lists.sourceforge.net/msg34984.html
Signed-off-by= : Gert Doering <gert@...1296...>
---
M doc/man-sections/tls-opt= ions.rst
M doc/man-sections/unsupported-options.rst
2 files changed, = 11 insertions(+), 6 deletions(-)

diff --git a/doc/man-sections/tls-options.rst b/doc/man-sections/tls-opt=
ions.rst
index 846dfdd..c4aa810 100644
--- = a/doc/man-sections/tls-options.rst
+++ b/doc/man-sections/t= ls-options.rst
@@ -222,6 +222,17 @@
``--= cert file`` above). URI is supported only when built with OpenSSL 3.0
or later and any required providers are loaded. (See ``--cert= `` for more details).

+--ns-cert-type type
+ **DEPRECATED** The ``--remote-cert-tls`` option shoul= d be used instead.
+ = The option is still available since it can't be silently ignored and n= eeds
+ updates to ce= rtificates and configs on both sides of the connection.
+ However it should not be used for new= clients or servers. It depends on the
+ deprecated ``nsCertType`` certificate field.+
+ Might not work depending on the TLS library us= ed.
+
+ Will be removed in a future relea= se.

+
--pkcs12 file
Specify a PKCS #12 file containing local= private key, local certificate,
and root CA certificate= . This option can be used instead of ``--ca``,
diff --git a= /doc/man-sections/unsupported-options.rst b/doc/man-sections/unsupported-op= tions.rst
index 6e77333..b646991 100644
---= a/doc/man-sections/unsupported-options.rst
+++ b/doc/man-s= ections/unsupported-options.rst
@@ -44,12 +44,6 @@ VPN tunnel security. Previously we claimed to have removed this= in
OpenVPN 2.5, but this wasn't actually the case.<= /span>

---ns-cert-type
- Removed in OpenVPN 2.5. The ``nsCertType`` f= ield is no longer supported
- in recent SSL/TLS libraries. If your certificates does not include= *key
- usage* and *ex= tended key usage* fields, they must be upgraded and the
- ``--remote-cert-tls`` option should be = used instead.
-<= br> --prng
Removed in OpenVPN 2.6. We now always = use the PRNG of the SSL library.

<= br>

To view, visit change 1428. To unsubscribe, or for help writing mai= l filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1d1851eaebe8bf66c92dac3c8c1= 0f68b1ec3ef33
Gerrit-Change-Number: 1428
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --0p2RSCHqIqw=--