testing: Make RADIUS server enforce client identity in certificate's CN
This commit is contained in:
+1
@@ -7,6 +7,7 @@ eap {
|
||||
ca_file = ${cadir}/strongswanCert.pem
|
||||
cipher_list = "DEFAULT"
|
||||
random_file = ${certdir}/random
|
||||
check_cert_cn = %{User-Name}
|
||||
}
|
||||
|
||||
tls {
|
||||
|
||||
@@ -7,6 +7,7 @@ connections {
|
||||
local {
|
||||
auth = eap
|
||||
certs = carolCert.pem
|
||||
id = [email protected]
|
||||
aaa_id = "C=CH, O=strongSwan Project, CN=aaa.strongswan.org"
|
||||
}
|
||||
remote {
|
||||
|
||||
@@ -9,7 +9,7 @@ connections {
|
||||
}
|
||||
remote {
|
||||
auth = eap-radius
|
||||
id = "C=CH, O=strongSwan Project, OU=Research, CN=[email protected]"
|
||||
id = [email protected]
|
||||
}
|
||||
children {
|
||||
net {
|
||||
|
||||
Reference in New Issue
Block a user