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 ricky <ri...@paysetter.com> on 2009/01/22 07:24:07 UTC

axis2 https

I need to use https on the server using axis2. What do I need to do? 
Also, the client calling the web service on the server implements its 
own web service using https.

                          client       server

1. client calls the web          ---->
   service on the server.
2. the server calls the          <----   
   web service on the client


thanks

Re: axis2 https

Posted by ricky <ri...@paysetter.com>.
Nandana,

I am using Axis2 1.4 war in tomcat 6.0.18.
I have configured tomcat server.xml:

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" 
maxThreads="150" scheme="https" secure="true" clientAuth="false" 
sslProtocol="TLS" keystoreFile="${user.home}/.keystore" 
keypass="changeit" enableLookups="true" />

I have used self signed certificates only for both the client and the 
server.
I have imported the client certificate into the server's certificate and 
placed it under /usr/java/jdk1.6.0_10/jre/lib/security as cacerts file.
Now I am getting an exception: "No subject alternative names present".

I am testing the webservice on my localhost as of now... i did not 
continue testing the webservice on a client/server environment so I 
could isolate the problem.

Thanks


Nandana Mihindukulasooriya wrote:
> Are you using Axis2 war in tomcat or standalone Axis2 server ? What do 
> you mean by web service on the client ?
>
> thanks,
> nandana
>
> On Thu, Jan 22, 2009 at 11:54 AM, ricky <ricky@paysetter.com 
> <ma...@paysetter.com>> wrote:
>
>     I need to use https on the server using axis2. What do I need to
>     do? Also, the client calling the web service on the server
>     implements its own web service using https.
>
>                             client       server
>
>     1. client calls the web          ---->
>      service on the server.
>     2. the server calls the          <----    web service on the client
>
>
>     thanks
>
>
>


Re: axis2 https

Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
Are you using Axis2 war in tomcat or standalone Axis2 server ? What do you
mean by web service on the client ?

thanks,
nandana

On Thu, Jan 22, 2009 at 11:54 AM, ricky <ri...@paysetter.com> wrote:

> I need to use https on the server using axis2. What do I need to do? Also,
> the client calling the web service on the server implements its own web
> service using https.
>
>                         client       server
>
> 1. client calls the web          ---->
>  service on the server.
> 2. the server calls the          <----    web service on the client
>
>
> thanks
>