Enable Apache HTTPS in Debian-based Linux
The following procedure activates HTTPS for the Apache web server in Debian-based Linux distributions.
This secure protocol uses TLS/SSL certificates to encrypt the data transferred between the remote user and the web server. Sensitive information is protected from being captured by malicious actors using sniffing tools along the network route.
==========
1. Enable the SSL module.
user@host: $ sudo a2enmod ssl
2. Enable the default configuration for the secure site.
user@host: $ sudo a2ensite default-ssl.conf
3. Restart the web server.
user@host: $ sudo /etc/init.d/apache2 restart
4. Test the secure site by accessing localhost with a simple browser.
user@host: $ lynx https://localhost
==========
Comments
Post a Comment