From: "cron2 (Code Review)" Date: Wed, 10 Dec 2025 09:19:21 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <56aed7e486288cc05db3a896531d972e7ea5ce8c-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="gyeddNyqrp4="; 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 , plaisthos Cc: openvpn-devel --gyeddNyqrp4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#2) to the change originally created by= flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1428?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by cron2 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(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/28/1428/2 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: newpatchset 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 --gyeddNyqrp4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #2 to the change originally created by flichtenhel= d.

View Change

The following approvals got outdated and were remove= d: Code-Review+2 by cron2

Correct documentation for --ns-cert=
-type

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

= Change-Id: I1d1851eaebe8bf66c92dac3c8c10f68b1ec3ef33
Signed-off-by: Fran= k Lichtenheld <frank@...2641...>
Acked-by: Gert Doering <gert@...220...= ..1296...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1428Message-Id: <20251210085625.32174-1-gert@...1296...>
URL: https:/= /www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34984.html
= Signed-off-by: Gert Doering <gert@...1296...>
---
M doc/man-sec= tions/tls-options.rst
M doc/man-sections/unsupported-options.rst
2 fi= les changed, 11 insertions(+), 6 deletions(-)

gi=
t pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/28/1428/2
<= pre style=3D"font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/doc/man-sections/tls-options.rst b/doc/man-sections/tls-opti= ons.rst
index 846dfdd..c4aa810 100644
--- a= /doc/man-sections/tls-options.rst
+++ b/doc/man-sections/tl= s-options.rst
@@ -222,6 +222,17 @@
``--c= ert 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 ne= eds
+ updates to cer= tificates 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 use= d.
+
+ Will be removed in a future releas= e.
+
= --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-opt= ions.rst
index 6e77333..b646991 100644
--- = a/doc/man-sections/unsupported-options.rst
+++ b/doc/man-se= ctions/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`` fi= eld is no longer supported
- in recent SSL/TLS libraries. If your certificates does not include = *key
- usage* and *ext= ended key usage* fields, they must be upgraded and the
- ``--remote-cert-tls`` option should be u= sed instead.
- --prng
Removed in OpenVPN 2.6. We now always u= se the PRNG of the SSL library.

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

Gerrit-MessageType: newpatchset
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>
= --gyeddNyqrp4=--