Trouble with securing a Tomcat/Axis2 web service via SSL?

The correct way to configure the servlet transport is described in the Axis2 documentation The symptoms you are describing suggest that you have a transportReceiver that refers to org.apache. Axis2.transport.http. SimpleHTTPServer.

Please also make sure that you use a recent version of Axis2 (1.5.6 or 1.6.1).

The correct way to configure the servlet transport is described in the Axis2 documentation. The symptoms you are describing suggest that you have a transportReceiver that refers to org.apache. Axis2.transport.http.

SimpleHTTPServer. Please also make sure that you use a recent version of Axis2 (1.5.6 or 1.6.1).

Yes, that was it! I changed the transportReceiver entries to use AxisServletListener, and that resolved the port issues. Thanks!

– Tim H Nov 6 at 16:29.

See Andreas's response for the port issue. As for the certificate issue, it was a misunderstanding on my part over the distinction between a keystore and truststore. The JVM defaults to using JAVA_HOME\lib\security\cacerts as its trust store, rather than the USER_HOME\.

Keystore file. Once I imported my certificate there, the errors went away. I was also able to resolve the certificate problems by explicity setting the trust store to be the key store file, via code.

I did this before importing the certificate into the cacerts store. It goes in the client code, right before invoking the service: System. SetProperty("javax.net.ssl.

TrustStore","C:\\path\\to\\. Keystore"); System. SetProperty("javax.net.ssl.

TrustStorePassword","password").

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions