The moose likes Web Services and the fly likes SSL Certificate Compatibility Issue in Tomcat 4.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SSL Certificate Compatibility Issue in Tomcat 4.1" Watch "SSL Certificate Compatibility Issue in Tomcat 4.1" New topic

SSL Certificate Compatibility Issue in Tomcat 4.1

sriman sarath

Joined: Aug 16, 2011
Posts: 3

I'm trying to connect to a web service and get some response through SSL Certificate from the provider.
My implementation worked well and got the response while using Tomcat 5.5.
When I try to implement the same in Tomcat 4.1 it throws below exception-

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultString: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA12275)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)

From the first look I thought it is some SSL certificate installation problem into the keystore. But I could see the SSL certificate and its related certificates available in the keystore.
So I'm assuming there is some compatibility issue of the SSL certificate with Tomcat 4.1. Please correct me If I'm wrong.
Do we have server compatible SSL certificates?
Thanks for your help.

I agree. Here's the link: http://aspose.com/file-tools
subject: SSL Certificate Compatibility Issue in Tomcat 4.1
Similar Threads
SSL, AXIS, Web Service
Authentication web services
Certificate not accepted in JRE 1.4.2
certificates,https, axis and weblogic 8.1
Connect to SSL certificate secured WebService