Why doesn't SSL_PROTOCOL and SSL_CIPHER logging in apache work?
Issue
- Why doesn't SSL_PROTOCOL and SSL_CIPHER logging in apache work?
Problematic configulation sample:
/etc/httpd/conf/httpd.conf
--------------------------
#Include conf.d/*.conf
Include conf.d/ssl.conf
Include conf.d/nss.conf
/etc/httpd/conf.d/ssl.conf
--------------------------
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
Problematic logging smaple:
/var/log/httpd/ssl_request_log
------------------------------
[15/Apr/2015:08:17:26 +0900] 192.168.122.1 - - "GET /test HTTP/1.1" 7
Expected logging sample:
[15/Apr/2015:08:37:57 +0900] 192.168.122.1 TLSv1 DHE-RSA-AES128-SHA "GET /test HTTP/1.1" 7
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
