File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSL Client Auth

 
Ariffin Ahmad
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm a bit confusing about how client authentication for SSL works. i tried to used it with tomcat 4.0, but, theres not much about it on tomcat documentation. anyone can help me on that?... any tutorial site i can refer to?....
 
Afranio
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first you should configure the tomcat
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
second you should write a program in java for acess any file using https(localhost)
For this you should use the generated: keystore and a certificate, for the authentication(this is do in pass 1).
if you are able to generate a certificate tell me, because I are not
http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html
http://archives.postgresql.org/pgsql-jdbc/2002-05/msg00105.php
 
Ariffin Ahmad
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've been through those link that u provide, but wasn't useful.
nothing in detail about how to implement ssl client authentication on tomcat...
how do my application on the tomcat check the identity of the client, through that certificate....
 
Omar IRAQI
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Salam Ahmed,
Are you trying to establish a SSL connection between the HTML client and the Web Server, or between the servlet and some backend server (broker) ?
 
Ariffin Ahmad
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Omar IRAQI:
Salam Ahmed,
Are you trying to establish a SSL connection between the HTML client and the Web Server, or between the servlet and some backend server (broker) ?

Both....
first, between HTML browser and the web server..
second, between an applet and the web server...
the web server need to know the identity of the client, through client certificate.
 
Afranio
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you configure the tomcat?
 
Ariffin Ahmad
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Afranio:
did you configure the tomcat?

yap...
but, as i said... there's not much i need to configure, except setting 'clientAuth' to 'true'. no explaination about the client authentication on jakarta tomcat web site either....
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic