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

PKCS#12 files for client authentication #851

Open
ioxuy opened this issue Nov 17, 2022 · 1 comment
Open

PKCS#12 files for client authentication #851

ioxuy opened this issue Nov 17, 2022 · 1 comment

Comments

@ioxuy
Copy link

ioxuy commented Nov 17, 2022

Is your feature request related to a problem?

curl built with SecureTransport

https://github.com/curl/curl/blob/master/lib/vtls/sectransp.c#L1896
SSL: The Security framework only supports loading identities that are in PKCS#12 format.

Possible Solution

https://github.com/libcpr/cpr/blob/master/cpr/session.cpp#L495
If cert_type is p12 add CURLOPT_KEYPASSWD

Alternatives

No response

Additional Context

No response

@COM8
Copy link
Member

COM8 commented Nov 17, 2022

Thanks for the suggestion. Would you like to create a PR for it?

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

No branches or pull requests

2 participants