|
From: henry <hen...@ec...> - 2004-02-10 03:18:31
|
Hi :
=20
I hava some program about herms , I want use ssl ..
my job like that
client ----> msh.clinet ------> msh.server ----> server
http https http
in my LoopBack.java=20
String transportType =3D "https";
String toMshUrl =3D "https://localhost:8443/msh";
in msh.properties.xml =20
<TrustedAnchor>
<KeyStore>
<Path>C:\JBuilder7\j2sdk1.4.2\jre\lib\security</Path>
<File>cacerts</File>
<Password>root</Password>
</KeyStore>
</TrustedAnchor>
=20
my tomcat https://localhost:8443/ is ok ...
but when I run LoopBack.java something wrong
tomcat's log
=20
javax.net.ssl.SSLHandshakeException: =
sun.security.validator.ValidatorException:
No trusted certificate found
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
....
in msh's log
2004-02-10 11:00:49,021 INFO [Thread-16]: Sending message to =
https://localhost:9453/msh
ERROR [Thread-16]: [10505] Cannot send SOAP message
Exception: com.sun.xml.messaging.saaj.SOAPExceptionImpl
(localhost:9543 is msh.server )
what's wrong ?
thx..
=
henry |