How have you configured HTTPS at the service? (the servlet container
axis2 is deployed). Does it require the client to authenticate itself
with its certificate?

if so you MUST add the client cert into the container's trust store
and then configure the client's following JSSE properties properly.
javax.net.ssl.keyStore
javax.net.ssl.keyStoreType
javax.net.ssl.keyStoreType

However even if the HTTPS config of the container does not require
client auth you MUST have the CA cert of the CA that signed the
container's cert in your jre/lib/security/cacerts store or if it uses
a self signed cert then you can override trust store config with the
JSSE properties. Please see here for more information [1]

Thanks,
Ruchith

[1] http://java.sun.com/products/jsse/install.html

On 12/16/06, Subash Devkota <[EMAIL PROTECTED]> wrote:
Hi all,

I have problem deploying axis2 1.0 in https.

I need to deploy my axis2 1.0 server over https application.

I used following configuration in axis2.xml in client side.

        <transportSender name="" 
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
                 <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
                 <parameter name="Transfer-Encoding">chunked</parameter>
        </transportSender>


The web service works well when i use it in http.  But when axis2 server
is deployed in https, the client can not connect to server (axis2 1.0
where web services is deployed).

I am using self signed certificate in client side. I added the
certificate of the client in https server's trusted certificate key
store. But could not connect to server.

It throws nullPointerException while trying to connect web service.

I tried using CA certified key in the client side. In this case, it works.

I need to connect to axis2 1.0 server deployed over https with client
that has self signed certificate.

Does any one knows how to configure the client for this?

Thanks in advance.
Subash


PRIVACY NOTICE

This email and any attachments may be confidential and/or privileged. Use of 
the information contained in this email by anyone other than the intended 
recipient is strictly prohibited. If you have received this email in error, 
please notify the sender by replying to this message and delete this email.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
www.ruchith.org
www.wso2.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to