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 {
|
||||
|
||||
@@ -10,6 +10,7 @@ conn %default
|
||||
conn home
|
||||
left=PH_IP_CAROL
|
||||
leftcert=carolCert.pem
|
||||
[email protected]
|
||||
leftauth=eap
|
||||
leftfirewall=yes
|
||||
right=PH_IP_MOON
|
||||
|
||||
@@ -15,7 +15,7 @@ conn rw-eap
|
||||
leftcert=moonCert.pem
|
||||
leftauth=pubkey
|
||||
leftfirewall=yes
|
||||
rightid="C=CH, O=strongSwan Project, OU=Research, CN=[email protected]"
|
||||
[email protected]
|
||||
rightauth=eap-radius
|
||||
rightsendcert=never
|
||||
right=%any
|
||||
|
||||
Reference in New Issue
Block a user