Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3.2.x Add handling for Subject Alternative Name (SAN) URIs #5449

Closed
wants to merge 3 commits into from

Conversation

ablanken
Copy link

@ablanken ablanken commented Oct 18, 2024

Add handling for Subject Alternative Name (SAN) URIs.

These URIs can be leveraged by network access control systems to make authentication and authorization decisions based on external device management services, such as Intune, where device certs may include the "IntuneDeviceId://guid" SAN URI.

Once this is included, we can look at calling the Intune Graph API to query device compliance status & group membership etc.

@ablanken ablanken marked this pull request as draft October 18, 2024 02:32
@ablanken
Copy link
Author

I have assumed that the cert attributes in the dictionary can't be reordered. Please let me know if this is not the case or if the attribute numbers need to be changed.

ATTRIBUTE TLS-Cert-Subject-Alt-Name-Uri 1934 string
ATTRIBUTE TLS-Client-Cert-Subject-Alt-Name-Uri 1935 string

One thing to be mindful of is 'GEN_URI' already appears in the following method in tls.c: static int ocsp_parse_cert_url
This may or may not be an issue.

@ablanken ablanken marked this pull request as ready for review October 18, 2024 02:42
@Neustradamus
Copy link

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.

3 participants