Re: Adding SSL information into access log

2011-11-17 Thread Konstantin Kolinko
2011/11/14 Tapio Niemi : >> >> If you can't find a standard request attribute that meets your needs, >> you could always write a Filter (or Valve, if it's necessary to run >> before the AccessLogValve) that puts anything you want into the >> request for logging purposes. > > Now this is great advic

Re: Adding SSL information into access log

2011-11-14 Thread Tapio Niemi
Hi! I already tried: pattern="%{SSL_CLIENT_M_SERIAL}r %h %l %u %t "%r" %s %b" on access log valce configuration, which caused server not to start That shouldn't have happened: Tomcat should start with the above log pattern. And it does; was some kind of temporary glitch which you get when you do

Re: Adding SSL information into access log

2011-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tapio, On 10/28/2011 8:31 AM, Tapio Niemi wrote: > How do I configure Tomcat to put certain information related to > SSL request into access log? In particular, I need to log the > client certificate's O, OU, and CN fields, or if that's not > possible

Adding SSL information into access log

2011-10-28 Thread Tapio Niemi
Hi, How do I configure Tomcat to put certain information related to SSL request into access log? In particular, I need to log the client certificate's O, OU, and CN fields, or if that's not possible, at least the serial number of the certificate. For example, in Apache httpd I can do: LogFo