-
-
Notifications
You must be signed in to change notification settings - Fork 918
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
Open SSL Error: "Duplicate extensions not allowed" #1055
Comments
I can't reproduce this on my machine (with RVM).
|
Yea… I'm having trouble figuring out how to even isolate this. Any ideas on how I can give more information? On Sep 30, 2013, at 9:31 PM, Hiro Asari notifications@github.com wrote:
|
Better backtrace |
what about On Wed, Oct 2, 2013 at 5:59 AM, Jonathan Friedman
|
[Jonathan]: jruby -S gem list jruby-openssl Error loading RubyGems plugin "/Users/Jonathan/.rvm/gems/jruby-1.7.4@global/gems/executable-hooks-1.2.3/lib/rubygems_plugin.rb": setting default path failed: problem creating X509 Aux certificate: java.io.IOException: problem parsing cert: java.security.cert.CertificateParsingException: java.io.IOException: Duplicate extensions not allowed (OpenSSL::X509::StoreError) *** LOCAL GEMS *** jruby-openssl (0.9.0) |
sorry did not read everything first, but it looks like you have certifacte google has quite some list with such IOException maybe that helps. -christian On Wed, Oct 2, 2013 at 12:38 PM, Jonathan Friedman <notifications@github.com
|
Well, I thought that at first, but there are two things that have made me think that might not be the case: 1. "problem creating X509 Aux certificate" It seems there is a problem creating a certificate... not reading one. 2. I deleted all the certificates on my computer and I still get this error |
I have the same issue, jruby-head, OSX 10.9
|
I have the same issue with 1.7.5 on Oracle JDK 7 ( |
After some investigation it seems that the issue is with |
I found that temporarily wiping |
Confirmed to be a problem with the local cert.pem. |
I get this when loading /usr/lib/ssl/cert.pem on OSX 10.9, JRuby 1.7.8, jruby-openssl (0.9.4) This snippet of code:
|
I am having similar issues on mac osx 10.9. I am using jruby-1.7.8 with rvm and jruby-openssl (0.9.4). I was wondering if there are any updates on this issue. Please let me know how I can help. I am using logstash as well vijay:10:39:17 ~/learn/logstash 35 > java -jar lib/logstash.jar agent -f fetcher.conf |
Downloading http://curl.haxx.se/ca/cacert.pem and adding |
👍 @romanukyan that resolved it for me. |
This is sounding like an environment issue, but if anyone has evidence that JRuby's not doing something right (or if we're perhaps too strict about cert file), please reopen with that evidence. |
Here's a description of the issue: If you're using a gem that uses a local I tried placing the exact same ca_certs.pem file in Once I changed the As you can see, it's easy to work around for the one app/env/ca_certs file. Try to use more than one app locally, with different ca_certs.pem's, on the same dev machine, though, and you'll have errors. |
@romanukyan 's solution fixed it for me. |
👍 @romanukyan Solution works for me |
If you're using OSX, you can use the workaround on jruby/jruby-openssl#56 |
That workaround worked for me, @docwhat. Thanks! |
@romanukyan that resolved it for me. |
same here for @romanukyan solution, it solved my issue. |
@romanukyan thanks, it resolved the issue, do you know exactly why was it resolved? |
System Info:
java version "1.6.0_51"
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) 64-Bit Server VM 1.6.0_51-b11-457-11M4509 [darwin-x86_64]
OpenSSL: openssl-1.0.1e
Steps to reproduce: jruby -e "require 'openssl'"
Result:
The text was updated successfully, but these errors were encountered: