1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

readme for ssl client certs

This commit is contained in:
Adam Wiggins 2009-03-20 19:37:25 -07:00
parent 075c6746f2
commit 569b389b37

View file

@ -121,6 +121,12 @@ extract and set headers for them as needed:
)
# ...response body
== SSL Client Certificates
RestClient.get('https://example.com', :ssl_client_cert => File.read('cert.pem'), :ssl_client_key => File.read('key.pem')
Self-signed certificates can be generated with the openssl command-line tool.
== Meta
Written by Adam Wiggins (adam at heroku dot com)
@ -128,7 +134,8 @@ Written by Adam Wiggins (adam at heroku dot com)
Patches contributed by: Chris Anderson, Greg Borenstein, Ardekantur, Pedro
Belo, Rafael Souza, Rick Olson, Aman Gupta, Blake Mizerany, Brian Donovan, Ivan
Makfinsky, Marc-André Cournoyer, Coda Hale, Tetsuo Watanabe, Dusty Doris,
Lennon Day-Reynolds, James Edward Gray II, Cyril Rohr, and Juan Alvarez
Lennon Day-Reynolds, James Edward Gray II, Cyril Rohr, Juan Alvarez, and Adam
Jacob
Released under the MIT License: http://www.opensource.org/licenses/mit-license.php