• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem getting client certificate from the Web server  RSS feed

Mark Lau
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we visit a web server which requires client
authentication, say, https://www.myweb.com , the browser brings up a dialog box which presents a list of valid certificates for you to choose from.
Then we select one of them and hit "ok", and the certificate is sent to the web server.
But no servlet is invoked by this action, so how can the web server get the client certificate information?
Suppose I want to intercept the client certificates in a servlet called CertInterceptor which contains the following code:

Usually, we invoke this servlet by way of a submit button *on the web page*. But in this case, we want to invoke it by hitting an "OK" button in a dialog box that IE brings up.
Is this possible? And if this is not the right way to intercept the client certificates submitted that way, how do we catch the client certificates?
Click here to get a better view of my question.
[ March 29, 2003: Message edited by: Gene Chao ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!