----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


Laurie Harper wrote:
> 
> My apologies for replying to my own question, but further investigation of
> the JServ C sources leads me to suspect that I was looking in the wrong
> place previously;  the jserv_ajpv12.c file contains code for sending
> environment data which seems more consistent with the read code in
> JServConnection; it also doesn't obviously send the SSL_CLIENT_CERT
> variable.

This is how I get the client's DN

        private static final String APACHE_DN = "org.apache.jserv.SSL_CLIENT_S_DN";

        clientDN = (String) req.getAttribute(APACHE_DN);

However you must tell Apache + mod_ssl to export the certificate info with

         SSLOptions                  +ExportCertData

Works great. All my Jserv based applications use certs to authenticate users.

e.

========================================================================
Enrico Badella                       email:   [EMAIL PROTECTED]
Soft*Star srl                                 [EMAIL PROTECTED]
InterNetworking Specialists          tel:     +39-011-746092            
Via Camburzano 9                     fax:     +39-011-746487
10143 Torino, Italy

  Wanted, for hobbyist use, any type of PDP and microVAX hardware,software,
  manuals,schematics,etc. and DEC-10 docs or manuals
==========================================================================


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to