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-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to