tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joaquín Sánchez Jiménez <qu...@fi2net.com>
Subject Re: SSL new StreamSource
Date Wed, 15 May 2002 07:26:02 GMT
Hi:

You must add as trusted certificate public certificate from server because
JSSE has not all 95 trusted certificates IExplorer has. You must include
certificate chain if your server certificate has been signed from not root
CA. See JSSE specification to do this.

Bye.

J.

----- Original Message -----
From: "Günter Kukies" <guenter.kukies@heuft.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, May 16, 2002 8:51 AM
Subject: SSL new StreamSource


Hi,

I do this within a Servlet:
Source xslSource = new StreamSource((new
URL("https://147.47.47.11:8443/xxx/yyy.xsl)).openStream());

but i get this Exception:

Couldn't find trusted certificatejavax.net.ssl.SSLHandshakeException:
Couldn't find trusted certificate at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275) at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA6275) at
com.sun.net.ssl.internal.ssl.Handshaker.process_record(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.AppOutputStream.write(DashoA6275) at
java.io.OutputStream.write(OutputStream.java:58) at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275) at
sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275) at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA
6275) at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:556) at
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getInp
utStream(DashoA6275) at java.net.URL.openStream(URL.java:955) at
pretest.processor.processRequest(processor.java:76) at
pretest.processor.doGet(processor.java:103) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter .....

when I type in the URL directly into IE i have asccess to yyy.xsl.

Günter



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message