Registry / http-client / restclient-with-cert

restclient-with-cert

JSON →
library0.0.8rbrubygemsunverified

An extension of RestClient that supports embedded SSL certificates for secure HTTP requests.

gem install restclient_with_cert
INSTALL
IMPORT
SIG · RESTCLIENT-WITH-CE
R
restclient-with-cert
http-clientrubyv0.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RestClient
require 'restclient_with_cert'

Make an HTTPS request with a client certificate

require 'restclient_with_cert' response = RestClient::Request.execute( method: :get, url: 'https://example.com', ssl_client_cert: OpenSSL::X509::Certificate.new(File.read('cert.pem')), ssl_client_key: OpenSSL::PKey::RSA.new(File.read('key.pem')) ) puts response.body
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
Amazon
1
Resources
restclient-with-cert — gem install restclient-with-cert · libregistry