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

Fixed issue with validating SSL certificates using wildcards in the CN #86

Merged
merged 3 commits into from
Sep 19, 2014
Merged

Conversation

rickykaare
Copy link

Found an issue when validating SSL certificates that is using wildcard (*) characters in the CN. The current implementation is giving RemoteCertificateNameMismatch error as the regular string comparison is not sufficient.

The suggested changes includes a method Match() for correctly matching hostname with the CN. This method is borrowed from the mosa project, and I am not sure what the process is, for this kind of code sharing.

@anaisbetts anaisbetts merged commit 81a85bf into anaisbetts:master Sep 19, 2014
@anaisbetts
Copy link
Owner

Thanks @rickykaare!

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