testing: Make RADIUS server enforce client identity in certificate's CN
This commit is contained in:
1 parent
dc1085734f
commit
1cbcf198ab
8 files changed
+10
-6
No files matched your search
+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
|
||||
leftid=carol@strongswan.org
|
||||
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=carol@strongswan.org"
|
||||
rightid=carol@strongswan.org
|
||||
rightauth=eap-radius
|
||||
rightsendcert=never
|
||||
right=%any
|
||||
|
||||
Reference in new issue
Block a user