This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Web Services over SSL - One Endpoint and serveral certificates  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Services over SSL - One Endpoint and serveral certificates  " Watch "Web Services over SSL - One Endpoint and serveral certificates  " New topic
Author

Web Services over SSL - One Endpoint and serveral certificates

Oscar Rugama
Greenhorn

Joined: Oct 13, 2010
Posts: 4
Hi,

Few months ago, i have the same problem but i found a solution.

This solution works (http://wiki.apache.org/ws/FrontPage/Axis/AxisClientConfiguration/SSLConfig) for all what i need but i developed a ws client that gets a File as atthachment in the ws call and it doesn´t work with this solution.

Well my problem is the following:


The company has a WS Java client based on Axis1.4, that communicate with one endpoint over SSL with one certificate. That´s ok but now i have to modify the code to communicate with the same endpoint over SSL but with tree certificates that it´s use to identify the user in the WS.

For example i have one endpoint (192.168.0.15) and three certificates (Cert1, Cert2 and Cert3), each one in a different keystore.

Axis1.4 model doesn´t support 1 endpoint - more than one certificate, only support a certificate for one endopoint.

What i did to solve this was to eliminate Axis cache in Axis library jar so each time i wanted to connect to the WS all works fine because when i look for the endpoint to connect it doesn´t look in Axis cache to look for the entry endpoint - certificate used for it.

As i wrote before it works all fine for all methods, but now i modifiy the WS client to get a File as attachment and with the axis library jar modified it doesn´t work.

Does anyone how to solve this problem in Axis1.4?

Otherwise, Is there another technology to develop a WS client based on Java that support the model one endpoint -- several certificates to identify user? And also before sending ws request i need to add a childelement to the soap header.

Thanks in advance

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Services over SSL - One Endpoint and serveral certificates
 
Similar Threads
SSL connection - howto disable sending client certificate?
Java service and c# client https
2-way ssl not working: bad certificate
File Transfer - Web Services over FTP?
Apache HTTP Server is not responding on 100 User Load