Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable TLSv1.2 in apache 2.2.22

I need to update apache 2.2.22 to support TLSv1.2. I have tried the below command but it is not working

SSLProtocol +TLSv1.2 +TLSv1.1 +TLSv1

But when I put this command it displays an error in windows event viewer

SSLProtocol: Illegal protocol 'TLSv1.2'
like image 993
JN_newbie Avatar asked Sep 25 '15 07:09

JN_newbie


People also ask

Does Apache 2.2 support TLS?

Apache 2.2 does support TLS v1. 1 and v1.

How do you check if TLS 1.2 is enabled Apache?

You should use openssl s_client, and the option you are looking for is -tls1_2. If you get the certificate chain and the handshake you know the system in question supports TLS 1.2. If you see don't see the certificate chain, and something similar to "handshake error" you know it does not support TLS 1.2.

How do I change from TLS 1.0 to TLS 1.2 in Linux?

To enable TLS 1.2 in Apache, you will need to change/add the SSLProtocol directive. To do any of this, mod_ssl should be enabled, if not, use the command sudo a2enmod ssl . You can also support TLSv1. 3 if you have OpenSSL 1.1.


1 Answers

Support for TLSv1.1 and TLSv1.2 was added in httpd 2.2.23. You will need to upgrade httpd itself, and also have OpenSSL 1.0.1 available at build-time and at run-time.

like image 103
Christopher Schultz Avatar answered Sep 28 '22 04:09

Christopher Schultz