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
add support for DER and P12 certs (#2411) #2413
Conversation
103705e
to
42110b5
Compare
I think this makes sense. Could you add a test for it? Also, it needs a rebase. |
Friendly ping |
ok, I will try to do that. |
I think this could be added to the 7.3.0 milestone (for November??? release). |
Any idea when this will make its way to the release? We rely on Guzzle and are in need of P12 cert support pretty urgently, so I'm checking in here to see what our options are. Thanks. |
I need a test for this PR before we can review and merge it. We haven't heard from the author for about a year. @maksimovic feel free to open a new PR with this fix and a test. That will probably be the quickest way to get this released. |
Ooops. @razvanphp answered a month ago.. What is the status? Do you need help from @maksimovic? |
I'm on it 🙂 didn't work on the project that needed this for some time... |
Rebased, tests added, thank you! |
Thank you @maksimovic Could you give this a review and make sure that it works? |
@maksimovic ping :) |
Unfortunately, we opted out of using Guzzle because we're using an older version it, but can't upgrade it quickly since it's the vital part of our stack and also includes bringing some other dependencies to a more recent version, which then have their dependencies requiring version bump, so it turned out to be way more work that we anticipated. |
@Nyholm what do you think? can we merge this tho? I've already tested it in our application, also the tests are included in the PR. |
Hey @Nyholm we need p12 support in our application too. Is there still anything blocking this from being merged? |
@nuernbergerA Have you tested this patch in your app? Does it work as expected? |
@Nyholm yes it works. But if there is any reason you want to reject the PR I'm fine to include the 'curl' => [
CURLOPT_SSLCERTTYPE => 'P12',
], |
No. I don't want to reject it. I want to be comfortable that merging this fixes the issue and does not break anything. I'm not familiar with the feature but since many people request this, I encourage people to verify the patch and not only bump the thread. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html
This will fix #2411