]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
allow TLS 1.2, and use "autheap=MSCHAPv2"
authorAlan T. DeKok <aland@freeradius.org>
Sat, 1 Feb 2025 21:00:34 +0000 (16:00 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 1 Feb 2025 21:10:08 +0000 (16:10 -0500)
otherwise eapol_test complains with

TLS: Unsupported Phase2 EAP method 'MSCHAPv2'

src/tests/eap-teap-mschap-x2.conf

index 8839de7d4173839c2748505a3c2d2d50051e7e91..1f97aeaab5caf1cb96132419ac5ce02dd99f3cca 100644 (file)
@@ -1,12 +1,12 @@
 #
-#   eapol_test -c eap-teap-mschapv2.conf -s testing123
+#   eapol_test -c eap-teap-mschap-x2.conf -s testing123
 #
 network={
        key_mgmt=IEEE8021X
        eap=TEAP
 
        anonymous_identity="anonymous"
-       phase1="teap_compat=freeradius,tls_disable_tlsv1_0=1 tls_disable_tlsv1_1=1 tls_disable_tlsv1_2=1 tls_disable_tlsv1_3=0"
+       phase1="teap_compat=freeradius,tls_disable_tlsv1_0=1 tls_disable_tlsv1_1=1 tls_disable_tlsv1_2=0 tls_disable_tlsv1_3=0"
        ca_cert="../../raddb/certs/ca.pem"
 
        #
@@ -21,5 +21,5 @@ network={
        #
        machine_identity="machine"
        machine_password="machine"
-       machine_phase2="auth=MSCHAPv2"
+       machine_phase2="autheap=MSCHAPv2"
 }