You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by prashants b <le...@googlemail.com> on 2008/06/03 06:16:43 UTC
Re: Axis2 SSL Configuration [Exception javax.crypto.Cipher.getInstance]
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, SGruverman@intellicare.com <SG...@intellicare.com> wrote:
> Prash,
> -----"prashants b" <le...@googlemail.com> 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: axis-user-unsubscribe@ws.apache.org For additional
> commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org