Skip to content

Commit

Permalink
add sample TEAP configuration files for eapol_test
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jan 2, 2025
1 parent 8bd1c1f commit ab98c3d
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 24 deletions.
28 changes: 28 additions & 0 deletions src/tests/eap-teap-mschap-tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# eapol_test -c eap-teap.conf -s testing123
#
network={
key_mgmt=IEEE8021X
eap=TEAP

anonymous_identity="anonymous"
ca_cert="../../raddb/certs/ca.pem"
phase1="teap_compat=freeradius,tls_disable_tlsv1_0=1,tls_disable_tlsv1_1=1"

#
# User Credentials
#
phase2="auth=MSCHAPV2"
identity="bob"
password="bob"

#
# Machine Credentials
#
machine_phase2="auth=TLS"
machine_identity="machine"
machine_ca_cert="../../raddb/certs/ca.pem"
machine_client_cert="../../raddb/certs/client.crt"
machine_private_key="../../raddb/certs/client.key"
machine_private_key_passwd="whatever"
}
25 changes: 25 additions & 0 deletions src/tests/eap-teap-mschap-x2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# eapol_test -c eap-teap-mschapv2.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"
ca_cert="../../raddb/certs/ca.pem"

#
# User Credentials
#
identity="bob"
password="bob"
phase2="auth=MSCHAPV2"

#
# Machine Credentials
#
machine_identity="machine"
machine_password="machine"
machine_phase2="auth=MSCHAPv2"
}
24 changes: 0 additions & 24 deletions src/tests/eap-teap-mschapv2.conf

This file was deleted.

17 changes: 17 additions & 0 deletions src/tests/eap-teap-password.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
# eapol_test -c eap-teap.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"
ca_cert="../../raddb/certs/ca.pem"

#
# User Credentials
#
identity="bob"
password="bob"
}

0 comments on commit ab98c3d

Please sign in to comment.