Ssl – How to disable SSL/TLS compression in Apache 2.2.16

apache-2.2compressionSecuritysslwindows-server-2008

I have one sever running on Apache 2.2.16. I run the VA scanner on the server. According to the VA report it is recommended that SSL/TLS compression should be off.
I tried to search google, but didnt find any helpful. Can anybody tell me how to set it off in Apache 2.2.16 without upgrading the version.

Best Answer

Sometimes, even with the latest version of Apache, if the current openssl library is not enough recent, the server returns the following error:

Invalid command 'SSLCompression', perhaps misspelled or defined by a module not included in the server configuration. 

In this case you can disable the compression exporting the following variable before start Apache httpd server:

export OPENSSL_NO_DEFAULT_ZLIB=1

I have found the suggestion here: