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

Verify DNS SANs if PermittedDNSDomains is set #3982

Merged
merged 13 commits into from
Feb 16, 2018

Conversation

vishalnayak
Copy link
Member

Fixes #3862

@vishalnayak vishalnayak added this to the 0.9.4 milestone Feb 14, 2018
@vishalnayak
Copy link
Member Author

@stampycode We believe that the certificate verification was checking the PermittedDNSDomains with an empty string and was failing. The fix in this PR verifies the client cert multiple times, each time with the DNSName in the options set to the DNSName of the client cert (one by one).

It would be great if you can test this for us.

jefferai
jefferai previously approved these changes Feb 15, 2018
@vishalnayak
Copy link
Member Author

@stampycode We were able to reproduce #3862 and verified that this PR fixes it!

@vishalnayak vishalnayak merged commit 1deaed2 into master Feb 16, 2018
@vishalnayak vishalnayak deleted the intermediate-permitted-dns branch February 16, 2018 22:44
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.

2 participants