• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Web Services over SSL - One Endpoint and serveral certificates

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic