Hi,

I'm using FakeBasicAuth with Apache which works fine with most user certificates. However, user certificates with colons in the subject doesn't work. The following illustrates the problem

- FakeBasicAuth works with a user entry like:

/CN=Martin Strandbygaard/C=Denmark/L=Copenhagen/ [EMAIL PROTECTED]

But not with the following entry:

/C=DK/O=Ingen organisatorisk tilknytning/CN=Martin Strandbygaard Jensen/serialNumber=PID:9802-2002-2-529764104948:xxj31ZMTZzkVA

Notice the colon after the "PID" part. I get the following error in the apache log:

[Sun Sep 11 17:14:24 2005] [error] [client 10.0.2.2] user /C=DK/ O=Ingen organisatorisk tilknytning/CN=Martin Strandbygaard Jensen/ serialNumber=PID not found: /test/test.php

From this I gather that the problem is the colon after the PID part. I've tried the usual ways of escaping the colon, as well as the entire string, but nothing has worked so far.

Does anyone know how to deal with colons in the subject? (they're government issued certificates, that follow a specific template, so removing the colon is not an option).

Regards
Martin Strandbygaard
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to