SSL_CLIENT_S_DN_CN in access logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
we are running Apache with client certificates authentication and we have "SSLUserName SSL_CLIENT_S_DN_CN" in our configuration.
Some of those certificates contain space in CN therefore we have
192.168.1.1 - Pavel Mateja [27/Jun/2024:10:26:58 +0000] "GET / HTTP/2.0" 302..
in access logs.
That confuses monitoring software which expects space as a delimiter.
I've tried to create custom log with \"%u\" but it does not seem as correct approach as I have "-" instead of - when no certificate is used. I would like to add " only if there is a space in the CN or substitute space with underscore.
Is there an easy way to do it?

--
Pavel Matěja


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux