PKCS12 client certificates #246

Merged
merged 3 commits into from Oct 22, 2013

Conversation

Projects
None yet
2 participants
@gareth
Contributor

gareth commented Oct 22, 2013

Recently I had to connect to a remote service using a password protected private key file.

The :pem option didn't seem to allow me to generate an OpenSSL::X509::Certificate and an OpenSSL::PKey::RSA in the right way, although I was able to manually build an HTTP connection using OpenSSL::PKCS12.new.

In the end I extended ConnectionAdapter to get things working in my project, but as PKCS12 is a standard I thought I'd merge my fix back into the main ConnectionAdapter class and let you take a look.

jnunemaker added a commit that referenced this pull request Oct 22, 2013

@jnunemaker jnunemaker merged commit bddaac0 into jnunemaker:master Oct 22, 2013

1 check passed

default The Travis CI build passed
Details

@gareth gareth deleted the gareth:pkcs12_client_certificates branch Oct 22, 2013

@gareth gareth restored the gareth:pkcs12_client_certificates branch Oct 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment