The Everywhere Cloud

Deploy an instance.
Accelerate your application.

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



Getting paid internationally?
Choose Payoneer.

Get started with DigitalOcean SSD Virtual Servers  Email Newsletters & Email Marketing by

Popular posts from this blog

Enabling HTTPS in Home Assistant

Running Home Assistant on FreeBSD Servers

Configuring the FreeBSD Firewall with IPFW