You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ma...@tamgroup.com on 2000/07/29 00:00:42 UTC

Tomcat 3.2: SSL & client certificates

Hi Gal,

I saw your name on the Tomcat action item list for implementation of
additional SSL support.

I try to do client authentication using certificates without going through
a web server (e.g. Apache), but the current version of Tomcat (i.e.
3.2beta2) doesn't seem to have support for the request attribute
'javax.servlet.request.X509Certificate'.

I was wondering if you are planning to tackle this issue or what a good
approach might be. I haven't really looked into the Tomcat
architecture, but I tried to find my way through the code a little bit.
What I did for testing is to put a *really* quick'n dirty patch
into HttpConnectionHandler.processConnection that test if the socket is a
Sun JSSE SSLSocket and if so sets it's certificate chain as the request
object's 'javax.servlet.request.X509Certificate' attribute.

Would the correct way be to create a new class HttpsConnectionHandler that
knows about SSL specific properties of a socket/connection?

Any input would be greatly appreciated.

Thanks,

Markus

=====================================================================
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message
=====================================================================
Markus Breilmann                        markus.breilmann@tamgroup.com
Director of Technology                           tel: +1.415.455.5770
The Tamalpais Group, Inc.                        fax: +1.415.455.5771
11 Belle Avenue                                 web: www.tamgroup.com
CA 94960 San Anselmo, USA
PGP Fingerprint:             96E7 8096 E893 F6FD  A60B 97F3 7F5D 941D


Re: Tomcat 3.2: SSL & client certificates

Posted by Christophe Warland <cw...@mail.com>.
Markus,

I gave all the pointers in the thread "Re: mod_jk, SSL and client certs".
Didn't it work for you? It does for me. My whole application is based on
transparent SSO login via SSL client certificates and works great.

I am running:
- NT SP5
- OpenSA 1.0  Apache 1.3.12
- Tomcat3.2 b2
- and Ajp13 (<-- this is the most important part! SSL client cert propagation
doesn't work with Ajp12)

Regards,

Christophe

Markus.Breilmann@tamgroup.com wrote:

> Hi Gal,
>
> I saw your name on the Tomcat action item list for implementation of
> additional SSL support.
>
> I try to do client authentication using certificates without going through
> a web server (e.g. Apache), but the current version of Tomcat (i.e.
> 3.2beta2) doesn't seem to have support for the request attribute
> 'javax.servlet.request.X509Certificate'.
>
> I was wondering if you are planning to tackle this issue or what a good
> approach might be. I haven't really looked into the Tomcat
> architecture, but I tried to find my way through the code a little bit.
> What I did for testing is to put a *really* quick'n dirty patch
> into HttpConnectionHandler.processConnection that test if the socket is a
> Sun JSSE SSLSocket and if so sets it's certificate chain as the request
> object's 'javax.servlet.request.X509Certificate' attribute.
>
> Would the correct way be to create a new class HttpsConnectionHandler that
> knows about SSL specific properties of a socket/connection?
>
> Any input would be greatly appreciated.
>
> Thanks,
>
> Markus
>
> =====================================================================
> This email message is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited.
> If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message
> =====================================================================
> Markus Breilmann                        markus.breilmann@tamgroup.com
> Director of Technology                           tel: +1.415.455.5770
> The Tamalpais Group, Inc.                        fax: +1.415.455.5771
> 11 Belle Avenue                                 web: www.tamgroup.com
> CA 94960 San Anselmo, USA
> PGP Fingerprint:             96E7 8096 E893 F6FD  A60B 97F3 7F5D 941D
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org