• 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

Getting Client Certificate after SSL Handshake

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

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!

Regards
Raveesh
 
You guys haven't done this much, have ya? I suggest you study this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic