You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Saint-Martin Cecile <cs...@symetrx.com> on 2001/05/28 15:08:07 UTC
SSL error
I followed the instruction at
http://xml.apache.org/websrc/cvsweb.cgi/~checkout~/xml-soap/java/docs/install/FAQ_Tomcat_SOAP_SSL.html
to use SSL over SOAP...
and I have this error when invoking service :
java.lang.reflect.InvocationTargetException: javax.net.ssl.SSLHandshakeException: unknown CA
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at java.io.IOException.<init>(IOException.java:49)
at javax.net.ssl.SSLException.<init>(Unknown Source)
at javax.net.ssl.SSLHandshakeException.<init>(Unknown Source)
at com.ibm.jsse.JSSESocket.install(Unknown Source)
at com.ibm.jsse.JSSESocket.startHandshake(Unknown Source)
at org.apache.soap.util.net.SSLUtils.buildSSLSocket(SSLUtils.java:93)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.soap.util.net.HTTPUtils.buildSocket(HTTPUtils.java:117)
at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:165)
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:238)
at org.apache.soap.rpc.Call.invoke(Call.java:205)
Has anybody an idea ?
Thanks
Cecile Saint-Martin
csaintmartin@symetrx.com
Re: SSL error
Posted by Saint-Martin Cecile <cs...@symetrx.com>.
I have this :
D:\jakarta-tomcat-3.2.1>keytool -list -keystore client.keystore
Keystore type: jks
Keystore provider: SUN
Your keystore contains 2 entries:
tomcat-cl, Tue May 29 10:05:38 CEST 2001, keyEntry,
Certificate fingerprint (MD5): C2:DE:64:EF:CB:04:9A:E1:5A:AD:7B:6B:34:70:81:27
tomcat, Tue May 29 10:07:20 CEST 2001, trustedCertEntry,
Certificate fingerprint (MD5): F3:A6:1A:D3:65:91:C9:6F:F9:93:8C:27:FE:A4:70:1A
D:\jakarta-tomcat-3.2.1>keytool -list -keystore server.keystore
Keystore type: jks
Keystore provider: SUN
Your keystore contains 2 entries:
tomcat-sv, Tue May 29 10:03:09 CEST 2001, keyEntry,
Certificate fingerprint (MD5): F3:A6:1A:D3:65:91:C9:6F:F9:93:8C:27:FE:A4:70:1A
tomcat, Tue May 29 10:07:43 CEST 2001, trustedCertEntry,
Certificate fingerprint (MD5): C2:DE:64:EF:CB:04:9A:E1:5A:AD:7B:6B:34:70:81:27
So the client and the server trust together, don't they?
Cecile Saint-Martin
csaintmartin@symetrx.com
----- Original Message -----
From: "Zhou Ruiyi" <zh...@sunjapan.com.cn>
To: <so...@xml.apache.org>
Sent: Tuesday, May 29, 2001 3:50 AM
Subject: Re: SSL error
> I think you have used the unsigned or invalid CAs
>
> ----- Original Message -----
> From: "Saint-Martin Cecile" <cs...@symetrx.com>
> To: <so...@xml.apache.org>; <so...@xml.apache.org>
> Sent: Monday, May 28, 2001 9:08 PM
> Subject: SSL error
>
>
> > I followed the instruction at
> >
> http://xml.apache.org/websrc/cvsweb.cgi/~checkout~/xml-soap/java/docs/instal
> l/FAQ_Tomcat_SOAP_SSL.html
> >
> > to use SSL over SOAP...
> >
> > and I have this error when invoking service :
> >
> > java.lang.reflect.InvocationTargetException:
> javax.net.ssl.SSLHandshakeException: unknown CA
> > at java.lang.Throwable.<init>(Throwable.java:96)
> > at java.lang.Exception.<init>(Exception.java:44)
> > at java.io.IOException.<init>(IOException.java:49)
> > at javax.net.ssl.SSLException.<init>(Unknown Source)
> > at javax.net.ssl.SSLHandshakeException.<init>(Unknown Source)
> > at com.ibm.jsse.JSSESocket.install(Unknown Source)
> > at com.ibm.jsse.JSSESocket.startHandshake(Unknown Source)
> > at
> org.apache.soap.util.net.SSLUtils.buildSSLSocket(SSLUtils.java:93)
> > at java.lang.reflect.Method.invoke(Native Method)
> > at
> org.apache.soap.util.net.HTTPUtils.buildSocket(HTTPUtils.java:117)
> > at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:165)
> > at
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
> va:238)
> > at org.apache.soap.rpc.Call.invoke(Call.java:205)
> >
> > Has anybody an idea ?
> >
> > Thanks
> >
> > Cecile Saint-Martin
> > csaintmartin@symetrx.com
> >
>
Re: SSL error
Posted by Zhou Ruiyi <zh...@sunjapan.com.cn>.
I think you have used the unsigned or invalid CAs
----- Original Message -----
From: "Saint-Martin Cecile" <cs...@symetrx.com>
To: <so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Monday, May 28, 2001 9:08 PM
Subject: SSL error
> I followed the instruction at
>
http://xml.apache.org/websrc/cvsweb.cgi/~checkout~/xml-soap/java/docs/instal
l/FAQ_Tomcat_SOAP_SSL.html
>
> to use SSL over SOAP...
>
> and I have this error when invoking service :
>
> java.lang.reflect.InvocationTargetException:
javax.net.ssl.SSLHandshakeException: unknown CA
> at java.lang.Throwable.<init>(Throwable.java:96)
> at java.lang.Exception.<init>(Exception.java:44)
> at java.io.IOException.<init>(IOException.java:49)
> at javax.net.ssl.SSLException.<init>(Unknown Source)
> at javax.net.ssl.SSLHandshakeException.<init>(Unknown Source)
> at com.ibm.jsse.JSSESocket.install(Unknown Source)
> at com.ibm.jsse.JSSESocket.startHandshake(Unknown Source)
> at
org.apache.soap.util.net.SSLUtils.buildSSLSocket(SSLUtils.java:93)
> at java.lang.reflect.Method.invoke(Native Method)
> at
org.apache.soap.util.net.HTTPUtils.buildSocket(HTTPUtils.java:117)
> at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:165)
> at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
va:238)
> at org.apache.soap.rpc.Call.invoke(Call.java:205)
>
> Has anybody an idea ?
>
> Thanks
>
> Cecile Saint-Martin
> csaintmartin@symetrx.com
>