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

Fix certificate validation #65

Merged
merged 5 commits into from
Sep 19, 2020

Conversation

radekg
Copy link
Contributor

@radekg radekg commented Sep 16, 2020

Hi @everesio. I have made a mistake in the original PR for this feature where the flags for the client certificate subject validation were not consistent. This PR fixes the problem and also documents the usage.

It also addresses a problem where the fields not used for validation were not ignored. This is fixed and covered by tests. Additionally, this PR resolves the issue with field values being out of order, also with tests.

Copy link
Contributor

@everesio everesio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @radekg, thank you for the fix. Please check the review comments

proxy/tls.go Outdated Show resolved Hide resolved
proxy/tls.go Outdated Show resolved Hide resolved
proxy/tls.go Outdated Show resolved Hide resolved
Copy link
Contributor

@everesio everesio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@radekg I've added one review comment.

proxy/tls.go Outdated Show resolved Hide resolved
@radekg
Copy link
Contributor Author

radekg commented Sep 18, 2020

@everesio fixed, thank you

@everesio everesio merged commit b8d1fee into grepplabs:master Sep 19, 2020
@radekg radekg deleted the fix-certificate-validation branch September 19, 2020 16:42
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.

None yet

2 participants