How to temporarily disable SSL in Apache2 – Linux + Apache2

An SSL certificate gives you secure data encryption between your web browser and the web server. The data transferred between you and server will be encrypted by the certificate and unreadable to the public or a hacker. This article explains how to temporarily disable SSL in Apache2 using commands on your linux server. Works on Ubuntu, Ubuntu 18.04, CentOS, Redhat, etc.

How to temporarily disable SSL in Apache2

login to your terminal access and run below command to disable the SSL or disable https in Apache2.

[email protected]~# sudo a2dismod ssl

Now restart the apache service to take effect the changes

[email protected]~# sudo service apache2 restart

To enable the SSL / https back to normal, run the below command and then restart the Apache2

[email protected]~# sudo a2enmod ssl

[email protected]~# sudo service apache2 restart

Tags:

Leave a Reply

Are you a human being ? *