SSL_CLIENT_S_DN_UID coming back null in httpd-ssl.conf

SSL_CLIENT_S_DN_UID coming back null in httpd-ssl.conf

am 24.03.2006 18:22:05 von Dennis Sinelnikov

This is a multi-part message in MIME format.

------=_NextPart_000_0066_01C64F3D.90AEEC20
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

All,



I'm having trouble pulling off SSL_CLIENT_S_DN_UID of off the client cert.



I can pull off the full DN or other fields within DN like email and cn, but
no go for UID



So.

CustomLog /usr/local/apache2/logs/ssl_request_log "%{SSL_CLIENT_S_DN}x"

Will log:

/C=USA/O=August Schell Enterprises/CN=Dennis
Sinelnikov/emailAddress=dennis.sinelnikov@augustschell.com/U ID=dennis



Has anyone else experienced this problem before? Any suggestions are
welcome!

I'm thinking about using regular expressions and parsing the DN to get UID.



Thanks,

Dennis






------=_NextPart_000_0066_01C64F3D.90AEEC20
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">











style=3D'font-size:10.0pt;
font-family:Arial'>All,



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>I’m having trouble pulling off =
SSL_CLIENT_S_DN_UID of
off the client cert.



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>I can pull off the full DN or other fields within DN =
like
email and cn, but no go for UID



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>So…



style=3D'font-size:10.0pt;
font-family:Arial'>CustomLog /usr/local/apache2/logs/ssl_request_log
"%{SSL_CLIENT_S_DN}x"



style=3D'font-size:10.0pt;
font-family:Arial'>Will log:



style=3D'font-size:10.0pt;
font-family:Arial'>/C=3DUSA/O=3DAugust Schell Enterprises/CN=3DDennis href=3D"mailto:Sinelnikov/emailAddress=3Ddennis.sinelnikov@a ugustschell.c=
om/UID=3Ddennis">Sinelnikov/emailAddress=3Ddennis.sinelnikov @augustschell=
..com/UID=3Ddennis



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>Has anyone else experienced this problem =
before?  Any
suggestions are welcome!



style=3D'font-size:10.0pt;
font-family:Arial'>I’m thinking about using regular expressions =
and
parsing the DN to get UID.



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,



style=3D'font-size:10.0pt;
font-family:Arial'>Dennis



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:
12.0pt'> 









------=_NextPart_000_0066_01C64F3D.90AEEC20--

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org