Unsupported keysize or algorithm parameters error

I am using Websphere 5.1 app server.

I am trying to create a Webservices client which uses a PFX keystore/truststore file to establish SSL conectivity with the Server.

but it gives out an error while calling the webservices method.

Has someone come accross the same problem.

Here is the error message........

--

exception: java.net.SocketException: Error in loading the keystore: Private key decryption error: (java.lang.SecurityException: Unsupported keysize or algorithm parameters)

--

my code to set the System Properties in the Client Server is as follows....

java.security.Security.addProvider(new com.ibm.jsse.IBMJSSEProvider());

System.setProperty("java.protocol.handler.pkgs","com.ibm.net.ssl.internal.www.protocol");

String keystoreFile ="C:\\TEST\\ABC.pfx";

System.setProperty("javax.net.ssl.trustStore", keystoreFile);

System.setProperty("javax.net.ssl.trustStoreType","PKCS12");

System.setProperty("javax.net.ssl.trustStorePassword","testabc");

System.setProperty("javax.net.ssl.keyStoreType","PKCS12");

System.setProperty("javax.net.ssl.keyStore", keystoreFile);

System.setProperty("javax.net.ssl.keyStorePassword","testabc");

[1624 byte] By [Prava] at [2007-11-26 20:38:47]
# 1
More than likely you do not have the unlimited strength jars installed for you JVM. Download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your version of the JVM, and restart the client to try it again.
arshad.noora at 2007-7-10 1:55:53 > top of Java-index,Security,Cryptography...