Skip to content

Enable server name validation#47

Open
devon-mar wants to merge 1 commit intogeteduroam:mainfrom
devon-mar:acceptservername
Open

Enable server name validation#47
devon-mar wants to merge 1 commit intogeteduroam:mainfrom
devon-mar:acceptservername

Conversation

@devon-mar
Copy link

Currently AcceptServerName is always false which does not validate the server's name against ServerNames (which is already set). If a public CA is configured, an attacker could simply obtain a certificate obtained by the same CA and spoof the RADIUS server. The client would trust this server since it only validates that the certificate was issued by an allowed CA, NOT the server name.

This PR changes AcceptServerName to be true when at least one server name is given.

https://learn.microsoft.com/en-us/windows/win32/eaphost/eaptlsconnectionpropertiesv1schema-tlsextensionstype-peapextensionstype-element

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant