azure-sdk-for-cpp/sdk
Larry Osterman ceca1cf156
Added functionality to enable CRL checking for CURL on linux; added tests for this new functionality. (#3923)
# Added functionality to enable CRL checking for CURL on linux.

This one is somewhat unpleasant and much larger than expected.

This pull request enables two pieces of functionality:
1. The ability to specify a known root certificate to the CURL HTTP transport (instead of a certificate file).
2. The ability to enable CRL validation (normally this is disabled in libCURL).

Enabling CRL validation ended up pulling in a significant chunk of code from azure-c-shared-util which handled retrieving CRLs (I was unable to find code in libCURL to do this). Native LibCURL support for CRL validation is limited to the schannel SSL backend (Windows Only).

This change also adds logic to the CURL transport to enable the ability to ignore CRL retrieval errors (there doesn't seem to be a comparable way of doing this for WinHTTP so it is a CURL transport only option).

To verify the root certificate logic, an extremely simple client for the SDK Test Proxy was written and is used to "record" a request to the C++ SDK HTTP server.
2022-09-19 11:04:03 -07:00
..
attestation Merge main with WebSockets. (#3856) 2022-07-28 11:44:41 -07:00
core Added functionality to enable CRL checking for CURL on linux; added tests for this new functionality. (#3923) 2022-09-19 11:04:03 -07:00
identity Increment package version after release of azure-identity (#3787) 2022-06-30 18:03:15 -07:00
keyvault Merge main with WebSockets. (#3856) 2022-07-28 11:44:41 -07:00
storage Sync WebSockets branch with Main. (#3895) 2022-08-22 11:47:25 -07:00
template Enable Distributed Tracing for Attestation SDK client. (#3706) 2022-06-08 11:40:56 -07:00