Hello, I want to log client certificate chain, when there is ssl verification failure.
So I have a rule
RewriteCond %{SSL:SSL_CLIENT_VERIFY} !=SUCCESS
RewriteRule ^(.*)$ /cgi-bin/printenv.pl [QSA,PT,L]
But it doesn’t work. If change the rule to success, it works, but I need to log
the chain only when client verification fails.
It appears that, when there is failure, my condition and rule never gets
executed.
Any work around doing that?
Thanks
S
