Skip to content

Disable SSL/TLS client certificate handling in WinHTTP.#4787

Closed
achidlow wants to merge 1 commit into
libgit2:masterfrom
achidlow:bug/winhttp-client-certs
Closed

Disable SSL/TLS client certificate handling in WinHTTP.#4787
achidlow wants to merge 1 commit into
libgit2:masterfrom
achidlow:bug/winhttp-client-certs

Conversation

@achidlow

Copy link
Copy Markdown

I can see there is currently a feature request #4204 for actually being able to supply a client certificate, however this change is still an incremental improvement over the current situation where there is no possible way to connect to a server that asks for an optional client certificate.

Code is basically straight from Microsoft docs: https://docs.microsoft.com/en-us/windows/desktop/winhttp/ssl-in-winhttp#optional-client-ssl-certificates

This allows connecting to servers that ask for a client cert but don't require one.
@ethomson

ethomson commented Sep 3, 2018

Copy link
Copy Markdown
Member

I'd be very happy to explicitly disable client certificates - it looks like the unit tests are not passing, however. Might we need to do this at a different point in the lifecycle of the connection?

@ethomson

ethomson commented Nov 15, 2018

Copy link
Copy Markdown
Member

Although I think that this change (as described) might make sense, it appears that this code is not quite right. Regrettably, I'm closing this PR for now since there's been no activity.

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