Skip to content

WinSSL sends client certificate automatically #2262

@jeroen

Description

@jeroen

The following issue was reported in the repo for the libcurl bindings for the R programming language.

Earlier this year we switched the R curl package from openssl to winssl on windows. Several Windows users have since then complained about getting an error schannel: next InitializeSecurityContext failed for certain servers (usually intranet).

The issue is difficult to reproduce but it seems to be caused by libcurl using an inappropriate client certificate when connecting over https to a server that has not requested a client certificate at all. Most httpd servers will simply ignore the client cert, but some servers (such as vault) will actually refuse the connection if they fail to validate the (unneeded) client cert.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions