diff --git a/testing/tests/tnc/tnccs-20-ev-pt-tls/description.txt b/testing/tests/tnc/tnccs-20-ev-pt-tls/description.txt index a4d9b4cf4..730d0781b 100644 --- a/testing/tests/tnc/tnccs-20-ev-pt-tls/description.txt +++ b/testing/tests/tnc/tnccs-20-ev-pt-tls/description.txt @@ -1,7 +1,7 @@ The PT-TLS (RFC 6876) clients carol and dave set up a connection each to the policy decision point (PDP) alice. Endpoint carol uses password-based SASL PLAIN client authentication during the PT-TLS negotiation phase whereas endpoint dave uses certificate-based TLS client authentication -during the TLS setup phase. +during the TLS setup phase. In both connections TLS 1.3 is used.
During the ensuing PT-TLS data transport phase the OS and SWIMA IMC/IMV pairs loaded by the PT-TLS clients and PDP, respectively, exchange PA-TNC (RFC 5792) messages diff --git a/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/alice/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/alice/etc/strongswan.conf index 04d7dbacc..51ae13e3d 100644 --- a/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/alice/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/alice/etc/strongswan.conf @@ -24,7 +24,9 @@ charon-systemd { } libtls { - suites = TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + suites = TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256 + ke_group = curve25519, curve448 + version_max = 1.3 } libimcv { diff --git a/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/carol/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/carol/etc/strongswan.conf index 87c3745a3..389a68a57 100644 --- a/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/carol/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/carol/etc/strongswan.conf @@ -1,7 +1,9 @@ # /etc/strongswan.conf - strongSwan configuration file libtls { - suites = TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + suites = TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384 + ke_group = curve25519, curve448 + version_max = 1.3 } libimcv { diff --git a/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/dave/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/dave/etc/strongswan.conf index 93cbb7101..d91c3837f 100644 --- a/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/dave/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-ev-pt-tls/hosts/dave/etc/strongswan.conf @@ -12,7 +12,9 @@ libimcv { } libtls { - suites = TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + suites = TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384 + ke_group = curve25519, curve448 + version_max = 1.3 } pt-tls-client { diff --git a/testing/tests/tnc/tnccs-20-mutual-pt-tls/description.txt b/testing/tests/tnc/tnccs-20-mutual-pt-tls/description.txt index 09ab8e9f1..dba6fc5e5 100644 --- a/testing/tests/tnc/tnccs-20-mutual-pt-tls/description.txt +++ b/testing/tests/tnc/tnccs-20-mutual-pt-tls/description.txt @@ -1,3 +1,3 @@ The hosts moon and sun do mutual TNC measurements using the PA-TNC, PB-TNC and PT-TLS protocols. The authentication is based on -X.509 certificates. +X.509 certificates and transport on TLS 1.3. diff --git a/testing/tests/tnc/tnccs-20-mutual-pt-tls/hosts/moon/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-mutual-pt-tls/hosts/moon/etc/strongswan.conf index a476878ac..f0291d5d5 100644 --- a/testing/tests/tnc/tnccs-20-mutual-pt-tls/hosts/moon/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-mutual-pt-tls/hosts/moon/etc/strongswan.conf @@ -5,7 +5,9 @@ pt-tls-client { } libtls { - suites = TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + version_max = 1.3 + suites = TLS_AES_128_GCM_SHA256 + ke_group = curve25519 } libimcv { diff --git a/testing/tests/tnc/tnccs-20-mutual-pt-tls/hosts/sun/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-mutual-pt-tls/hosts/sun/etc/strongswan.conf index b596dbc1b..d7e33f52e 100644 --- a/testing/tests/tnc/tnccs-20-mutual-pt-tls/hosts/sun/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-mutual-pt-tls/hosts/sun/etc/strongswan.conf @@ -24,7 +24,9 @@ charon-systemd { } libtls { - suites = TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + version_max = 1.3 + suites = TLS_AES_128_GCM_SHA256 + ke_group = curve25519 } libimcv { diff --git a/testing/tests/tnc/tnccs-20-pdp-pt-tls/description.txt b/testing/tests/tnc/tnccs-20-pdp-pt-tls/description.txt index 90e85485c..9da98de2a 100644 --- a/testing/tests/tnc/tnccs-20-pdp-pt-tls/description.txt +++ b/testing/tests/tnc/tnccs-20-pdp-pt-tls/description.txt @@ -1,7 +1,7 @@ The PT-TLS (RFC 6876) clients carol and dave set up a connection each to the policy decision point (PDP) alice. Endpoint carol uses password-based SASL PLAIN client authentication during the PT-TLS negotiation phase whereas endpoint dave uses certificate-based TLS client authentication -during the TLS setup phase. +during the TLS setup phase. In both connections TLS 1.3 is used. During the ensuing PT-TLS data transport phase the OS and SWIMA IMC/IMV pairs loaded by the PT-TLS clients and PDP, respectively, exchange PA-TNC (RFC 5792) messages diff --git a/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/alice/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/alice/etc/strongswan.conf index 04d7dbacc..df8750c5a 100644 --- a/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/alice/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/alice/etc/strongswan.conf @@ -24,7 +24,8 @@ charon-systemd { } libtls { - suites = TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + version_max = 1.3 + suites = TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384 } libimcv { diff --git a/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/carol/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/carol/etc/strongswan.conf index 5aad08905..c9bc663ff 100644 --- a/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/carol/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/carol/etc/strongswan.conf @@ -1,7 +1,8 @@ # /etc/strongswan.conf - strongSwan configuration file libtls { - suites = TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + version_max = 1.3 + suites = TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384 } libimcv { diff --git a/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/dave/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/dave/etc/strongswan.conf index cf08b969d..408c35091 100644 --- a/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/dave/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/dave/etc/strongswan.conf @@ -19,7 +19,8 @@ libimcv { } libtls { - suites = TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + version_max = 1.3 + suites = TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384 } pt-tls-client {