calling X509::Certificate#sign for the Certificate initialized from PEM causes 
IllegalStateException
----------------------------------------------------------------------------------------------------

                 Key: JRUBY-4455
                 URL: http://jira.codehaus.org/browse/JRUBY-4455
             Project: JRuby
          Issue Type: Bug
          Components: OpenSSL
    Affects Versions: JRuby-OpenSSL 0.6
            Reporter: Hiroshi Nakamura
            Assignee: Hiroshi Nakamura


{noformat}
TestGemCommandsCertCommand#test_execute_sign: null:-1:in 
`generateTBSCertificate':
 java.lang.IllegalStateException: not all mandatory fields set in V3 
TBScertificate generator
        from null:-1:in `generateTbsCert'
        from null:-1:in `generate'
        from null:-1:in `generate'
        from X509Cert.java:428:in `run'
        from OpenSSLReal.java:53:in `call'
        from OpenSSLReal.java:64:in `getWithBCProvider'
        from OpenSSLReal.java:50:in `doWithBCProvider'
        from X509Cert.java:425:in `sign'
        from 
org/jruby/ext/openssl/X509Cert$i_method_2_0$RUBYINVOKER$sign.gen:-1:in `call'
{noformat}


causes RubyGems test failure: cf. http://jira.codehaus.org/browse/JRUBY-4444

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