Add support for including extra_chain_cert with p12#802
Add support for including extra_chain_cert with p12#802nparker-tc wants to merge 3 commits intojnunemaker:mainfrom
Conversation
|
Looks good. I've not used this and know nothing about it but I'll merge after CI passes. |
|
@jnunemaker Wow thanks for the quick response! I will re-try locally the 2.7 build and get it fixed. Appreciate it! |
|
@nparker-tc 2.7 is failing. Any ideas why? I didn't look closely. |
@jnunemaker Is it still? I think it is currently awaiting on a workflow approval for a new build with the updated specs. It failed previously based on the way the specs were written. |
|
@jnunemaker Please let me know if you have any questions on this. It should be good to go |


Summary of feature
We ran into an integration where the partner required the full certificate chain included with SSL requests. Adding this support in HTTParty allows the option to include the full certificate chain utilizing the existing data from the p12 certificate. This feature has been included in
Net::HTTPsince Ruby 3.0. I have added a safety check to prevent compatibility issues to ensure it is only accessible when theextra_chain_cert=method is available on the Net::HTTP instance.Techinical Details