Problem with colon in subject DN when using FakeBasicAuth

Martin Strandbygaard Jensen <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
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                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.