Enable SSL Ubuntu server with Apache2

 

Enable SSL Module

  1. Replace 'default-ssl' with the real site name you set up in /etc/apache2/sites-available/.

    sudo a2enmod ssl
  2. Once the site listed in the command above is enabled, the site appears in /etc/apache2/sites-enabled.

Apply SSL Module to Site

sudo a2ensite default-ssl
sudo /etc/init.d/apache2 restart

Related Articles