Curly
Curly copied to clipboard
Expose custom CA parameters
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.
Fantastic. Thank you!