From ef665adb7e44ef03e7f3e6f2cd1db88315ffcbe1 Mon Sep 17 00:00:00 2001 From: Alex W Date: Mon, 29 Apr 2024 20:53:51 +0100 Subject: openconnect: T4982: Support defining minimum TLS version in openconnect VPN (cherry picked from commit 9ff74d4370f0a5f66c303074796dab8b1ca5c4a5) --- .../include/tls-version-min.xml.i | 29 ++++++++++++++++++++++ .../include/version/openconnect-version.xml.i | 2 +- interface-definitions/interfaces_openvpn.xml.in | 28 +-------------------- interface-definitions/vpn_openconnect.xml.in | 4 +++ 4 files changed, 35 insertions(+), 28 deletions(-) create mode 100644 interface-definitions/include/tls-version-min.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/tls-version-min.xml.i b/interface-definitions/include/tls-version-min.xml.i new file mode 100644 index 000000000..b3dcbad49 --- /dev/null +++ b/interface-definitions/include/tls-version-min.xml.i @@ -0,0 +1,29 @@ + + + + Specify the minimum required TLS version + + 1.0 1.1 1.2 1.3 + + + 1.0 + TLS v1.0 + + + 1.1 + TLS v1.1 + + + 1.2 + TLS v1.2 + + + 1.3 + TLS v1.3 + + + (1.0|1.1|1.2|1.3) + + + + diff --git a/interface-definitions/include/version/openconnect-version.xml.i b/interface-definitions/include/version/openconnect-version.xml.i index 654806278..15097eebe 100644 --- a/interface-definitions/include/version/openconnect-version.xml.i +++ b/interface-definitions/include/version/openconnect-version.xml.i @@ -1,3 +1,3 @@ - + diff --git a/interface-definitions/interfaces_openvpn.xml.in b/interface-definitions/interfaces_openvpn.xml.in index f7e8f8b9f..bbfe91d88 100644 --- a/interface-definitions/interfaces_openvpn.xml.in +++ b/interface-definitions/interfaces_openvpn.xml.in @@ -755,33 +755,7 @@ Peer certificate fingerprint must be a colon-separated SHA256 hex digest - - - Specify the minimum required TLS version - - 1.0 1.1 1.2 1.3 - - - 1.0 - TLS v1.0 - - - 1.1 - TLS v1.1 - - - 1.2 - TLS v1.2 - - - 1.3 - TLS v1.3 - - - (1.0|1.1|1.2|1.3) - - - + #include TLS negotiation role diff --git a/interface-definitions/vpn_openconnect.xml.in b/interface-definitions/vpn_openconnect.xml.in index 736084f8b..7849d6886 100644 --- a/interface-definitions/vpn_openconnect.xml.in +++ b/interface-definitions/vpn_openconnect.xml.in @@ -266,6 +266,10 @@ + #include + + 1.2 + SSL Certificate, SSL Key and CA -- cgit v1.2.3