GNU/Linux Mint 22 Enabling Apache SSL Guide
Hi! This tutorial provides a step-by-step guide on how to enable Apache SSL on Linux Mint 22 Wilma. Follow these instructions to secure your Apache server with SSL on Mint 22.x.
The Linux Mint 22 Apache SSL enabling procedure is straightforward and designed for a quick setup in a development environment. This guide also includes a link to generate and set up a free SSL certificate for Linux Mint 22.
-
1. Launching Terminal App
Open a Terminal shell emulator window:
(Press “Enter” to execute commands)If you’re new to the terminal, see: Terminal QuickStart Guide.
-
2. Enabling Apache SSL
To enable Apache SSL on Linux Mint 22, run the following commands:
sudo a2enmod ssl
sudo a2ensite default-ssl
sudo service apache2 reload
-
3. Configuring SSL Domain
Review the Apache default SSL configuration for localhost:
cat /etc/apache2/sites-available/default-ssl.conf
How to generate a free SSL signed certificate
To edit it, you may use the nano editor like this:
sudo nano /etc/apache2/sites-available/default-ssl.conf
Save and exit nano with Ctrl+x.
-
4. Testing Apache SSL
After setting up SSL, test the domain over SSL by visiting:
https://localhost