2014-05-04 3:31 GMT+04:00 Dhayanidhi sundaramoorthi
dhayamoorthi2...@gmail.com:
Hi,
In Tomcat7, we are trying to do client certificate authentication using
datasource realm. But it fails.
Please fnd the configuration below:
server.xml:
?xml version=1.0 encoding=UTF-8
Hi,
Thanks for your response.
Can you pls let me know the exact location where I am supposed to configure
the realm in server.xml?
If I place the configuration in tomcat_base/conf/web.xml, the
configuration is applicable for all the web apps.
I want all the webapplication needs to be protected.
2014-05-04 17:24 GMT+04:00 Dhayanidhi sundaramoorthi
dhayamoorthi2...@gmail.com:
Hi,
Thanks for your response.
Can you pls let me know the exact location where I am supposed to configure
the realm in server.xml?
It belongs to a container (Context, Host or Engine).
In server.xml that will be
Hi,
I have moved the realm configuration inside host tag
Host appBase=webapps autoDeploy=true name=localhost
unpackWARs=trueValve
className=org.apache.catalina.valves.AccessLogValve directory=logs
pattern=%h %l %u %t quot;%rquot; %s %b prefix=localhost_access_log.
suffix=.txt/
Realm
Date: Sat, 3 May 2014 19:31:17 -0400
Subject: Tomcat7 Client Certicate Authentication Using Datasource Realm Fails
From: dhayamoorthi2...@gmail.com
To: users@tomcat.apache.org
Hi,
In Tomcat7, we are trying to do client certificate authentication using
datasource realm. But it fails.
Hi,
Please find the meaningful log again.
FINE: Authenticating client certificate chain
May 03, 2014 8:11:00 PM org.apache.catalina.realm.RealmBase authenticate
FINE: Checking validity for 'CN=ssodemo01.es.ad.adp.com, OU=DataExchange,
ADP Technologies, O=Automatic Data Processing, Inc,