I want to configure Tomcat/4.1.27 in order to use the client certificate authentication. I first set up the SSL connector following the How-To. So now my site runs under SSL without any problem.
Next,I build the client certificate with keytool, and store it into a file ( trust.keystore ). In my web.xml I change my BASIC into CLIENT-CERT : <login-config> <auth-method>CLIENT-CERT</auth-method> <realm-name>Client certificate auth.</realm-name> </login-config>