Hi.
I have a web server Tomcat 4.1.18 and it works fine. My problem is when
I create the keystore tomcat of manual form. I have created two Java
methods: addCertToKeyStore and addPKToKeyStore.
I realize the following step to create my own keystore:
- I add CA certificate in JDK keystore:
Hi.
You need to add to the web.xml file the following lines:
login-config
auth-methodCLIENT-CERT/auth-method
/login-config
When you try to connect to the protected resource, the navigator will
request a client certificate.
Regards.
--
Hi,
i tried the following:
+
Hi.
I have a JNDIRealm with certificate authentication. When the user
cancel the authentication he see a error page: Cancelled Action.
How can I include my own error page when the user cancel the
certificate authentication??
Regards.
Hi.
You can to implement a JDBCRealm with client certificates modifying the
org.apache.catalina.realm.JDBCRealm class. You need add the public
Principal authenticate(X509Certificate[] cert) method. Inside, you have
to include the following lines:
import
Hi.
I have an application that it connects to a servlet and send it a set
of parameters through OutputStream. I make a JNDIRealm and when the
application connects to the servlet, my Realm can't to map these
parameters (with the client certificate) a none authenticate() method.
What parameters