Should work without a security provider installation
----------------------------------------------------
Key: JRUBY-1297
URL: http://jira.codehaus.org/browse/JRUBY-1297
Project: JRuby
Issue Type: Improvement
Components: OpenSSL
Reporter: Robert Egglestone
Assignee: Thomas E Enebo
The Java JCE APIs require that BouncyCastle is installed a a security provider
on the system to be able to do things like this:
CertificateFactory.getInstance("X.509","BC")
Automatically installing would not be a great option, because it can cause
major classloader issues in a J2EE environment.
(e.g. the app server uses JCE for SSL, tries to get BC which is only available
in a webapp classloader, and fails)
Alternatively, BouncyCastle can usually be called directly, this only requires
that the classes are available.
I'll look at this more later on and see about creating a patch, however for now
this is just to keep track of the issue.
--
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