Error when using Sun Certificates: OpenSSL::X509::ExtensionError: 2.5.29.15 = 
 : unknown bit string argument 
--------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-3752
                 URL: http://jira.codehaus.org/browse/JRUBY-3752
             Project: JRuby
          Issue Type: Bug
          Components: OpenSSL
    Affects Versions: JRuby-OpenSSL 0.5
         Environment: jruby 1.3.0 (ruby 1.8.6p287) (2009-06-03 5dc2e22) (Java 
HotSpot(TM) 64-Bit Server VM 1.6.0_07) [x86_64-java]
jruby-openssl-0.5
httpclient-2.1.5
            Reporter: Frederic Jean
         Attachments: ssl_connect.rb

I get the following stacktrace when trying to connect to a Sun property 
protected by SSL:

OpenSSL::X509::ExtensionError: 2.5.29.15 =  : unknown bit string argument
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient/session.rb:252:in
 `post_connection_check'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient/session.rb:640:in
 `connect'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient/timeout.rb:128:in
 `timeout'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient/session.rb:631:in
 `connect'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient/session.rb:522:in
 `query'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient/session.rb:147:in
 `query'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient.rb:953:in
 `do_get_block'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient.rb:765:in
 `do_request'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient.rb:848:in
 `protect_keep_alive_disconnected'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient.rb:764:in
 `do_request'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient.rb:666:in
 `request'
        from 
/home/fj102159/Projects/kenai/junction2/vendor/gems/httpclient-2.1.5/lib/httpclient.rb:591:in
 `get'
        from (irb):11

See attachement on how to reproduce

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to