I have Apache running in Ubuntu 14.04. How do I disable and enable the SSL mode without a command? What about with a command?
3 Answers
As far as I know there is currently no way to disable SSL without command. With command, simply launch your terminal and enter
sudo a2dismod ssland restart apache2
sudo service apache2 restartTo do the opposite, use this command
sudo a2enmod ssland also restart apache2
2For disabling SSL without a command you can manually edit the SSLEngine directive in your ssl configuration file (usually in /etc/apache2/sites-enabled/default-ssl.conf)
change:
SSLEngine onto:
SSLEngine offrestart Apache. I guess that requires a command...
for Ubuntu 14.04 and before use: sudo service apache2 restart
for Ubuntu 16.04 and beyond use: sudo systemctl restart apache2.service
from:
Only commands are available for disable and enable SSL
Locate your SSL Protocol Configuration on your Apache server with root permission. And type
grep -i -r "SSLProtocol" /etc/apache2 to disable
Type the following command to restart
apachectl -k restart 1