aspose file tools
The moose likes Web Services and the fly likes Mutual SSL in Axis 2 SimpleAxis2Server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Mutual SSL in Axis 2 SimpleAxis2Server" Watch "Mutual SSL in Axis 2 SimpleAxis2Server" New topic
Author

Mutual SSL in Axis 2 SimpleAxis2Server

Alan Mangroo
Greenhorn

Joined: Aug 27, 2007
Posts: 7
Hi all,

I have a standalone Axis2 server running using org.apache.axis2.transport.SimpleAxis2Server

I would like to enable mutial SSL on this server. I have managed to get 1-way SSL working using my own selft signed certificates.

I have uncommented the SSLVerifyClient paramter, but this makes no difference. The server is running with SSL debug enabled and all I can see is 1-way SSL happening. There is no certificate request being sent from the server.
Does anyone have any ideas? Below is the config I am using in axis2.xml....


<transportReceiver name="https" class="common.HttpCoreNIOSSLListenerTEST">
<parameter name="port" locked="false">9002</parameter>
<parameter name="non-blocking" locked="false">true</parameter>
<parameter name="keystore" locked="false">
<KeyStore>
<Location>identitystore.jks</Location>
<Type>JKS</Type>
<Password>storepass</Password>
<KeyPassword>password</KeyPassword>
</KeyStore>
</parameter>
<parameter name="truststore" locked="false">
<TrustStore>
<Location>truststore.jks</Location>
<Type>JKS</Type>
<Password>storepass</Password>
</TrustStore>
</parameter>
<parameter name="SSLVerifyClient">require</parameter>
<!-- supports optional|require or defaults to none -->
</transportReceiver>

Many thanks
Alan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mutual SSL in Axis 2 SimpleAxis2Server
 
Similar Threads
SOAP over HTTPS / SSL
SSL in standalone axis2 1.4.1
JaxWs https and certificates
exception starting NodeAgent after enabling Security
implement https web services and