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 "Stromas, Aaron" <aa...@rsa.com> on 2012/10/14 22:51:37 UTC

Axis 1.4/Tomcat/SSL

Hi,

I have an Axis 1.4 client that accesses the webservice over SSL. When I run it in standalone mode, it works fine, however, when I deploy it in a web application that uses an HTTP proxy, I get the following exception:

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
        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)

Just before making a call I print all the relevant system properties, https.ProxyHost, http.ProxyPort, truststore location and password - all is just fine. Any ideas of why SSL is not used?
TIA

-a