Skip to content

PKCS12 client certificates - #246

Merged
jnunemaker merged 3 commits into
jnunemaker:masterfrom
gareth:pkcs12_client_certificates
Oct 22, 2013
Merged

PKCS12 client certificates#246
jnunemaker merged 3 commits into
jnunemaker:masterfrom
gareth:pkcs12_client_certificates

Conversation

@gareth

@gareth gareth commented Oct 22, 2013

Copy link
Copy Markdown
Contributor

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 pushed a commit that referenced this pull request Oct 22, 2013
@jnunemaker
jnunemaker merged commit bddaac0 into jnunemaker:master Oct 22, 2013
@gareth
gareth deleted the pkcs12_client_certificates branch October 22, 2013 15:21
@gareth
gareth restored the pkcs12_client_certificates branch October 23, 2013 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants