File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Problem getting client certificate from the Web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Problem getting client certificate from the Web server" Watch "Problem getting client certificate from the Web server" New topic
Author

Problem getting client certificate from the Web server

Mark Lau
Ranch Hand

Joined: Dec 15, 2001
Posts: 120
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.
http://www.geocities.com/markliu1989/
Thanks!
[ March 29, 2003: Message edited by: Gene Chao ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem getting client certificate from the Web server
 
Similar Threads
No certificates to choose from, why?
Unable to get security certificates from HTTPS Server
question about intercepting client certificates in servlet
Web Service SSL Client
x509 certificate need to send to the client