tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Henrique <>
Subject Re: Tomcat and client certificates
Date Wed, 15 Feb 2006 11:00:51 GMT

I have followed all the instructions on this discussion, and i´m still
getting the error:

HTTP Status 400 - No client certificate chain in this request

Does the user cert that i´m using need to be "trusted" by cert of tomcat sever?

I´m using Apache Tomcat/5.5.15, on Win Xp Pro SP2

I have generated the 2 certs like described on:

The acess to https://localhost:8443 works fine
But the access to the restricted area https://localhost:8443/teste
return the error:
HTTP Status 400 - No client certificate chain in this request

If i use the BASIC auth, it works, but with CLIENT-CERT it did not

Is there anything wrong with my configuration?

This are my configuration:

server.xml :

<Realm className="org.apache.catalina.realm.MemoryRealm" />
<Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="want" sslProtocol="TLS"
		   keystoreFile="c:\\certificados\\tomcat.keystore" />
 	<Factory className=""
           clientAuth="want" protocol="TLS" />

tomcat-users.xml :
  <role rolename="cert"/>
   <user username="CN=Luis Henrrique Spoladore Amaral, OU=UFSC,
O=UFSC, L=Floripa, ST=SC, C=BR" password="null" roles="cert"/>

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"


    <display-name>Bug 12218</display-name>
      Test web app for bug 12218.





Thanks for your help


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message