Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Services over SSL - One Endpoint and serveral certificates

 
Oscar Rugama
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic