Configuration and Useful Commands for SSL enable in ubuntu server

Configuration and Useful Commands for SSL enable in ubuntu server

Configuration and Useful Commands

Install Apache2

Required to use SSL/TLS certificates:

sudo apt-get install 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





Leave a Reply