Leon,

Take this to comp.lang.java.security or Sun/Security Forum. We will take from
there.


Pae



> Hello All,
> 
> I have some code which uses the javax.crypto.* package.  When I run the code
> in a test outside of tomcat everything works fine.  When I try to run the
> code through Tomcat on the same machine, I get the following error:
> 
> java.lang.SecurityException:  Cannot set up certs for trusted CAs
>     at javax.crypto.b<clinit>([Dasho-Pro-V1.2-120198])
>     at javax.crypto.SecretKeyFactory.getInstance([Dasho-Pro-V1.2-120198])
>     ...
> 
> Has anyone ever used these classes with tomcat?  Does anyone have an idea
> what might be happening here?  Has anyone used a different way to encrypt in
> code run in tomcat?
> 
> Thanks in advance!
> 
> Leon Palermo
> 

Reply via email to