Curly icon indicating copy to clipboard operation
Curly copied to clipboard

Expose custom CA parameters

Open brian-schick opened this issue 7 years ago • 1 comments

As discussed recently on the Discord security channel, there's currently a miss in Vapor Client, HTTPClient and Curly, in that none of them enable developers to verify certificates generated by a custom CA.

This can be a major problem in the enterprise, and the only work-around at present is to use Curly's .insecure(true). This is a lifesaver… but it's also of course a band-aid, since it simply disables SSL chain verification.

Exposing cURL's custom parameters would provide a solid solution to this issue.

brian-schick avatar Dec 04 '19 18:12 brian-schick

Fantastic. Thank you!

brian-schick avatar Dec 18 '19 21:12 brian-schick