microsoft/cpprestsdk

Support for client certificates

Open

#810 opened on Jul 16, 2018

View on GitHub
 (8 comments) (0 reactions) (0 assignees)C++ (7,596 stars) (1,670 forks)batch import
enhancementhelp wanted

Description

Years ago(!) there already was a discussion on Casablanca supporting client certificates for mutual SSL connections. See here: client side certificates

Unfortunately this seems not to have changed meanwhile, Apparently Casablanca still doesn't support client certificates! :-/ AT least I can see no code inside that acts upon ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED and sets some certificate context via WINHTTP_OPTION_CLIENT_CERT_CONTEXT in the Windows flavour (dunno how to do that on POSIX but never mind).

Is there any plan to implement that any time soon or will we never see it? For my current application this is a real showstopper, as the customer demands client side certificates and mutual SSL. I could of course try to patch in something but I would feel much more comfortable if things are build in!

Contributor guide