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 Nandeesh Kaggere <nk...@camsbycbs.com> on 2012/05/07 22:01:38 UTC

Axis1.6 -- making Https calls

Hi,

I am using Axis2 v 1.6 for invoking 3rd party WS calls. Things were fine but
the new requirement is, I need to be making secured calls (Https) and the
existing code throws the following exception. Can you please tell me
how/what changes should be made or point me to the right resource?

 

Caused AxisFault

05/07/2012 14:02:46 +1 NULL response from Web Service

05/07/2012 14:02:46 +1 getMessage --> Connection has been shutdown:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target

 

 

Thanks for your help.

Nandeesh

 


RE: Axis1.6 -- making Https calls

Posted by Nandeesh Kaggere <nk...@camsbycbs.com>.
Thanks! That's where I am heading to. Will keep you posted.

Nandeesh 
-----Original Message-----
From: George Stanchev [mailto:Gstanchev@serena.com] 
Sent: Monday, May 07, 2012 5:04 PM
To: java-user@axis.apache.org
Subject: RE: Axis1.6 -- making Https calls

The server is using a certificate that is not in your JDK truststore. Import
the service SSL certificate in the cacert file that belongs to your JDK.


________________________________________
From: Nandeesh Kaggere [nkaggere@camsbycbs.com]
Sent: Monday, May 07, 2012 2:01 PM
To: java-user@axis.apache.org
Subject: Axis1.6 -- making Https calls

Hi,
I am using Axis2 v 1.6 for invoking 3rd party WS calls. Things were fine but
the new requirement is, I need to be making secured calls (Https) and the
existing code throws the following exception. Can you please tell me
how/what changes should be made or point me to the right resource?

Caused AxisFault
05/07/2012 14:02:46 +1 NULL response from Web Service
05/07/2012 14:02:46 +1 getMessage --> Connection has been shutdown:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target


Thanks for your help.
Nandeesh


----------------------------------------------
T ususcib, -mil jvausr-nsbsrie@xi.aace.rg
Fr ddtina cmmnd, -mil jvausr-el@aisapch.og



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


RE: Axis1.6 -- making Https calls

Posted by George Stanchev <Gs...@serena.com>.
The server is using a certificate that is not in your JDK truststore. Import the service SSL certificate in the cacert file that belongs to your JDK.


________________________________________
From: Nandeesh Kaggere [nkaggere@camsbycbs.com]
Sent: Monday, May 07, 2012 2:01 PM
To: java-user@axis.apache.org
Subject: Axis1.6 -- making Https calls

Hi,
I am using Axis2 v 1.6 for invoking 3rd party WS calls. Things were fine but the new requirement is, I need to be making secured calls (Https) and the existing code throws the following exception. Can you please tell me how/what changes should be made or point me to the right resource?

Caused AxisFault
05/07/2012 14:02:46 +1 NULL response from Web Service
05/07/2012 14:02:46 +1 getMessage --> Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


Thanks for your help.
Nandeesh