I am trying to add the BouncyCastle Security Provider at runtime. The call to java.security.Security.addProvider() seems to succeed, but later attempts to use the provider cause a SecurityException with the message "The provider BC may not be signed by a trusted party". This jar works fine from command line apps, and if it is installed in the jre (jar added to the lib/ext dir and an entry made into the java.security file), so there is no problem in the signed jar.

Is this maybe a classloader problem where java.security can't find the cacerts file to verify the jar? What else could be causing the problem?

-jason



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to