Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKCS12 client certificates #246

Merged
merged 3 commits into from
Oct 22, 2013

Conversation

gareth
Copy link
Contributor

@gareth 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 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