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

Ignore certificate revocation checks in case of missing or offline distribution points on Windows #1093

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

treyn008
Copy link

@treyn008 treyn008 commented Jul 31, 2024

Set the CURLSSLOPT_REVOKE_BEST_EFFORT option, if curl is on the version 7.70.0 or later.

The SSL option is equivalent to the --ssl-revoke-best-effort curl flag. This option results in ignoring errors regarding the revocation check being unable to take place. This is only an issue on Windows, due to this being the default behavior from schannel.

(source)

@COM8 COM8 self-requested a review August 2, 2024 14:59
@COM8
Copy link
Member

COM8 commented Aug 17, 2024

@treyn008 thanks for this PR! To me this should be an option and not be enabled by default. Else this could be a potential security issue.

Perhaps make it a part of cpr::SslOptions. Also please create a PR with a bit of docs here: https://github.com/libcpr/docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants