Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

To acquire client certificate  RSS feed

Manikandan Jayaraman
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a web service which I have made secure. The client and theservice go though a 2-way SSL handshake before communicating with each other.

At the server side,

When I try httpReq.isSecure(), I get "true"
When I try httpReq.getAttribute(""), I get "SSL_RSA_WITH_RC4_128_MD5"

But, when I try httpReq.getAttribute("javax.servlet.request.X509Certificate"), I get "Null".

When I print httpReq.getAttributeNames(), I dont see this attribute as well.

Why is this so? What could be the error? How should I go about getting the certificate?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!