java.lang.SecurityException: Unsupported keysize or algorithm parameters

Hi, all,
while My TN receive EDIINT doc , I see the user status is ‘ProcessMsg:ERROR’, actually, the EDIINT MDN is sent successfully.I checked the error log, below is the detail:

wm.tn.mime:processEncryptedData java

java.lang.SecurityException: Unsupported keysize or algorithm parameters

java.lang.SecurityException: Unsupported keysize or algorithm parameters
at javax.crypto.Cipher.init(DashoA6275)
at iaik.pkcs.pkcs7.EncryptedContentInfoStream.setupCipher(Unknown Source)
at iaik.pkcs.pkcs7.EncryptedContentInfoStream.setupCipher(Unknown Source)
at com.wm.app.tn.mime.SMime.getParameters(SMime.java:1959)
at com.wm.app.tn.mime.SharedDecryptionStream.getSrc(SharedDecryptionStream.java:98)
at com.wm.app.tn.mime.SharedDecryptionStream.(SharedDecryptionStream.java:48)
at com.wm.app.tn.mime.SharedDecryptionStream.(SharedDecryptionStream.java:36)
at com.wm.app.tn.mime.SMime.processEncryptedData(SMime.java:1177)
at wm.tn.mime.processEncryptedData(mime.java:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:287)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:587)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:229)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:194)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:39)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:403)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:503)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:367)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:157)
at com.wm.lang.flow.FlowInvoke.invoke(Flow
Thanks
Crane

Crane,
This error is typically caused by not having the Unlimited Strength Jurisdiction Policy Files under java. You can download these files from sun.
~tS

Agree with Taro. Usually WM ships with the Unlimited Strength policy files if you are using the JVM provided by them. If you are using a different JVM you would need to update the security policy.

Mark

Hi, thanks for your reply.I download this file ‘jce_policy-1_4_2.zip’ and extraxt it to this directory (C:\j2sdk1.4.2_06\jre\lib\security\jce), and then restart IS, but I get the same error. BTW, should the cert subject cn be the same as the DN where the cert is installed ?
thanks
crane