cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bazaj, Taru \(IT\)" <>
Subject FW: Generating apache cxf client for an https connection
Date Tue, 30 Sep 2008 11:08:26 GMT
Hi friends,
I am working on a project to create java client for a web service that
uses https protocol. I have added the certificate required for the
connection in my project and provided the path in my spring config file.
But, when I run the project I get the exception "unable to find valid
certification path to requested target". I am not able to find out what
am I doing wrong. 
I have attached the certificate( ypou have to change it from .abc to
.cer), the wsdl exposed by the web service .
The cofig file I wrote is as follows:
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns=""











<sec:keyStore type="JKS" password="123456"

file="C:\Documents and
es\com\microsoft\schemas\exchange\services\_2006\certs\keystore" />



<!-- these filters ensure that a ciphersuite with-->

<!-- export-suitable or null encryption is used, but-->

<!-- exclude anonymous Diffie-Hellman key change as this-->

<!-- is vulnerable to man-in-the-middle attacks-->









<!-- We need a bean named "cxf" -->

<!-- <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl" />-->


If anyone has worked on anything similar or could think of anything to
solve the issue please get back to me. I need this working urgently.
Any help is much appreciated.
Thanks a lot !
Taru Bazaj
Morgan Stanley | Technology
Bldg. 5, Sector 30, Mindspace, Goregaon (West)
Mumbai (Ex Bombay), 400 090
Phone: +91 22 6641-0281

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in error.

  • Unnamed multipart/mixed (inline, 7-Bit, 0 bytes)
View raw message