Thursday , 19 September 2019
Latest topics!!

How to enable TLS1.2 in apache?

As we know that the TLS1.2 is the only secure version of TLS available. We can enable TLS1.2 in Apache.

Check current TLS version using the command below:

openssl ciphers -v | awk '{print $2}' | sort | uniq

Before enabling the TLS1.2 in apache, we have to check that if “ssl_module” is enabled in the server. Use the below command for that:

httpd -M  | grep ssl
Syntax OK
ssl_module (shared)

if it is not installed, Please see the below link to do the installation:



Once the “ssl_module” is enabled in the server, open the apache configuration file “/etc/httpd/conf/httpd.conf” and add the below line in it:

SSLProtocol -all +TLSv1.2

-all is removing other ssl protocol (SSL 1,2,3 TLS1) +TLSv1.2 is adding TLS 1.2

Restart apache using the below command:

/etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: 					   [  OK  ]


About Harikrishnan M

Working as Senior System Administrator at Twinbeeservers.

Leave a Reply

Your email address will not be published. Required fields are marked *