toland / patron

Ruby HTTP client based on libcurl
http://toland.github.com/patron/
MIT License
541 stars 74 forks source link

ssl: add ssl_cert option to support pkcs12 self-signed cert #165

Open lenage opened 6 years ago

lenage commented 6 years ago

Added ssl_cert, ssl_cert_type and ssl_key_password to support self-signed PKCS12 cert.

see cURL docs for those options:

https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT.html https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html

I just wrote one spec, and it passed, if i missed something, please let me know.

julik commented 6 years ago

@lenage Sorry it's been a while - but could you maybe take another look at the feedback?