Security.addProvider(new com.sun.crypto.provider.SunJCE()). Why this is necessary is a quandry to me. If I had a clue why this was happening, I would try to fix it. But, this is not my area of expertise and I am stumped.
At 08:06 AM 3/27/2004, you wrote:
When I run Security.getProviders() in Tomcat, I do not get SunJCE. All I see is:
SUN SunJSSE SunRsaSign SunJGSS
even though I have the following in the java.security file:
security.provider.1=sun.security.provider.Sun security.provider.2=com.sun.net.ssl.internal.ssl.Provider security.provider.3=com.sun.rsajca.Provider security.provider.4=com.sun.crypto.provider.SunJCE security.provider.5=sun.security.jgss.SunProvider Why is that? When I run from the command line, I do get SunJCE. I get:
SUN SunJSSE SunRsaSign SunJCE SunJGSS
Accordingly, I can run KeyPairGenerator.getInstance("DH") from the command line, but not from a JSP page in Tomcat. I have no problem with Resin, so I am assuming, perhaps wrongly, that the problem is in Tomcat.
Anyone have any ideas?
Michael McGrady
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]