mwunsch / weary

A framework and DSL for building RESTful web service clients
MIT License
482 stars 23 forks source link

Client certificate auth support #1

Open fbjork opened 13 years ago

fbjork commented 13 years ago

Any plans of adding SSL certificate authentication support?

mwunsch commented 13 years ago

What is involved?

fbjork commented 13 years ago

Something like this:

e = Typhoeus::Request.get("https://example.com/action", :ssl_cacert => "ca_file.cer", :ssl_cert => "acert.crt", :ssl_key => "akey.key", [...] end

(from https://github.com/pauldix/typhoeus)

mwunsch commented 13 years ago

There's a bunch of refactoring/rewriting work to be done -- I think this is a great thing to work in.