From: "flichtenheld (Code Review)" Date: Tue, 9 Dec 2025 14:53:26 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <155e40a3918d395c24b4aa759ff98048be4890b9-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="TScWd9kxLcw="; 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: plaisthos Cc: openvpn-devel --TScWd9kxLcw= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1428?usp=3Demail to review the following change. 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 --- 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/1 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: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I1d1851eaebe8bf66c92dac3c8c10f68b1ec3ef33 Gerrit-Change-Number: 1428 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --TScWd9kxLcw= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

V= iew Change

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-I= d: I1d1851eaebe8bf66c92dac3c8c10f68b1ec3ef33
Signed-off-by: Frank Lichte= nheld <frank@...2641...>
---
M doc/man-sections/tls-options.rst=
M doc/man-sections/unsupported-options.rst
2 files changed, 11 inser= tions(+), 6 deletions(-)

git pull ssh://gerrit.o=
penvpn.net:29418/openvpn refs/changes/28/1428/1
diff --git a/doc/ma=
n-sections/tls-options.rst b/doc/man-sections/tls-options.rst
index 846dfdd..c4aa810 100644
--- a/doc/man-sections/tls= -options.rst
+++ b/doc/man-sections/tls-options.rst<= br>@@ -222,6 +222,17 @@
``--cert file`` above). UR= I is supported only when built with OpenSSL 3.0
or later= and any required providers are loaded. (See ``--cert`` for more details).<= /span>

+--= ns-cert-type type
+ = **DEPRECATED** The ``--remote-cert-tls`` option should be used instead.

+ The option is still a= vailable since it can't be silently ignored and needs
+ updates to certificates and configs= on both sides of the connection.
+ However it should not be used for new clients or servers. I= t depends on the
+ d= eprecated ``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 ce= rtificate,
and root CA certificate. This option can be u= sed instead of ``--ca``,
diff --git a/doc/man-sections/unsu= pported-options.rst b/doc/man-sections/unsupported-options.rst
index 6e77333..b646991 100644
--- a/doc/man-sections/un= supported-options.rst
+++ b/doc/man-sections/unsupported-op= tions.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 supp= orted
- in recent SSL/= TLS libraries. If your certificates does not include *key
- usage* and *extended key usage* fiel= ds, 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 SS= L library.


To view, v= isit cha= nge 1428. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1d1851eaebe8bf66c92dac3c8c1= 0f68b1ec3ef33
Gerrit-Change-Number: 1428
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
= --TScWd9kxLcw=--