Home/Article
Esadax JournalFAQ

Configuring Apache SSL with Comodo Certificates

To configure SSL on your Apache server using a Comodo certificate, follow these steps: 1. Edit the Apache Configuration File: * Ensure the file is edited in a way that allows you to

To configure SSL on your Apache server using a Comodo certificate, follow these steps:

  1. Edit the Apache Configuration File:
    • Ensure the file is edited in a way that allows you to save changes.
  2. Enable SSL and Set Directives:
  3. Download and Install Certificates:
    • Obtain the Comodo Root CA and Intermediate CA certificates from Comodo's SSL website.
    • Place these files in /etc/ssl/certs/.
  4. Test SSL Configuration:
    • Access your site using HTTPS to ensure SSL is enabled and working properly.

Restart Apache:

sudo systemctl restart apache2

Specify TLS protocols to use modern versions:

SSLProtocol all -TLSv1_2:+TLSv1_3

Enable SSL in the VirtualHost block:

<VirtualHost *:80>
  SSLEngine on
</VirtualHost>

Add or uncomment the following directives at the top of the configuration file:

SSLProxySetupExponentBundle 1
SSLCACertificateFile /etc/ssl/certs/root.crt
SSLPrivateKeyFile /etc/ssl/certs/intermediate.crt

Open the default configuration file with a text editor:

sudo nano /etc/apache2/sites-enabled/000-default.conf
Subscribe