Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Getting Client Certificate after SSL Handshake

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am creating an application using axis2, tomcat in which I need to have client authentication ( mutual ssl authentication ). Client authentication part is working fine, but can somebody please tell me whether there is a way to obtain the client certificate that was used to establish the ssl connection? As in, like we can have HandshakeCompletedEvent using which we can obtain the peer certificate chain, similarly do we have any support in tomcat /axis2 ?

I came across a solution to call "request.getAttribute("javax.servlet.request.X509Certificate")", but in axis2 how can we get the request object as it is the SOAP request invocation!

Onion rings are vegetable donuts. Taste this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic