I generated self signed certificate, using keytool utility.
Imported server certificate to client keystore.
Set these system properties as:
  System.setProperty("javax.net.ssl.trustStore", "C:/cert/clientTrustStore");
  System.setProperty("javax.net.ssl.trustStorePassword", "passwd");

Environment details are as
Axis version: Axis2 1.3
Server : Tomcat 5.5.26
JDK: 1.5

At client I am getting this error
Exception in thread "main" java.lang.NoClassDefFoundError
    at javax.crypto.Cipher.getInstance(DashoA12275)
    at com.sun.net.ssl.internal.ssl.JsseJce.getCipher(Unknown Source)
    at com.sun.net.ssl.internal.ssl.RSACipher.<init>(Unknown Source)
    at com.sun.net.ssl.internal.ssl.RSACipher.getInstance(Unknown Source)
    at com.sun.net.ssl.internal.ssl.PreMasterSecret.<init>(Unknown Source)

Am I missing any required jar?

--Thanks in Advance
Prash

On 5/24/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Prash,
> -----"prashants b" <[EMAIL PROTECTED]> wrote: -----
>>Still its giving error at client
>>Exception in thread "main" java.lang.NoClassDefFoundError
>>    at javax.crypto.Cipher.getInstance(DashoA12275)
>
> Sorry if this stating the obvious, but something (I'm guessing the jar for
> your security provider implementation) if not being found in your classpath.
> If you do a Google search on "javax.crypto.Cipher.getInstance(DashoA12275)"
> you'll get some suggestions.
>
> You don't say anything about your environment - application server, Axis
> version, etc - so I can't suggest anything more specific. And quite possibly
> I couldn't even with that information. :-)
>
> - Steve
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to