jruby-openssl
jruby-openssl copied to clipboard
JRuby's OpenSSL gem
We have a test in the mongo ruby driver which attempts to pass a string as a key in openssl context: https://github.com/mongodb/mongo-ruby-driver/blob/master/spec/mongo/socket/ssl_spec.rb#L240 let(:options) do { :ssl => true, :ssl_cert =>...
I have the following code ```ruby crl = OpenSSL::X509::CRL.new crl.version = 1 crl.issuer = ca_cert.subject ef = extension_factory_for(ca_cert) crl.add_extension( ef.create_extension(["authorityKeyIdentifier", "keyid:always", false])) crl.add_extension( OpenSSL::X509::Extension.new("crlNumber", OpenSSL::ASN1::Integer(0))) not_before = just_now crl.last_update =...
I am currently implementing a client side verification and I have encountered a bug when working with certificate signed with an intermediate CA. And I am not able to make...
The following test is new for SSL support changes in net/ftp in Ruby 2.4. I am not investigating this as part of the initial JRuby 9.2 release so I'm excluding...
logstash uses jruby-openssl. We configured port 10069 for SSL input to logshipper. The jruby-openssl implementation (SSLSocket.java) insists on completing the SSL handshake before cloning a new thread to handle the...
I have 2 issues when I tested creation of RSA-keys on MRI 2.2.1 and JRuby 1.7.21, and JRuby 9.0.4.0 with default jruby-openssl and with the newest jruby-openssl-0.9.16. First: When used...
There is a nasty little bug in Java: [JDK-8062548 Support duplicate Extended Key Usage certificate extensions](https://bugs.openjdk.java.net/browse/JDK-8062548) This causes problems on OS X systems such as jruby/jruby#1055 because Apple creates some...
The trust manager currently only build its list of accepted issuers (in [`getAcceptedIssuers()`](https://github.com/jruby/jruby-openssl/blob/34aaa64a5b6506f169dff9b39102158cbb69c83e/src/main/java/org/jruby/ext/openssl/SSLContext.java#L1041)) from the list of CA certificates pass via `client_ca` (this is the content of `internalContext.clientCert`). (Firstly, as...
This has been ported over from https://github.com/jruby/jruby/issues/4238 ##bench.rb ```ruby require 'jruby/profiler' require 'openssl' ENV['SSL_CERT_FILE'] = '/etc/pki/tls/certs/ca-bundle.crt' puts `ruby -v` puts `java -version` puts `gem list | grep jruby-openssl` puts `stat...
... some might not be complete - not copying state from Java fields?! ## --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4515680-review-all-initialize_copy-impls?utm_campaign=plugin&utm_content=tracker%2F136995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136995&utm_medium=issues&utm_source=github).