I have not tried this, but others said they have done it. Where are you putting the jar and how is the BouncyCastle provider being installed?
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Essington Sent: Friday, January 30, 2004 3:47 PM To: [EMAIL PROTECTED] Subject: [JBoss-dev] Adding JCE providers at runtime. 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