Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

readme for ssl client certs

  • Loading branch information...
commit 569b389b37d5af3e80312bb2d4becddccfda276b 1 parent 075c674
Adam Wiggins adamwiggins authored

Showing 1 changed file with 8 additions and 1 deletion. Show diff stats Hide diff stats

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

0 comments on commit 569b389

Please sign in to comment.
Something went wrong with that request. Please try again.