Ubuntu Wildcard SSL: Step-by-Step Guide to Installing a Wildcard SSL on Apache

March 13, 2023 . 2 MIN READ

Installing a Wildcard SSL certificate is straightforward for technical users, but it can seem confusing for those unfamiliar with the process. Below is a step-by-step guide to help you install a Wildcard SSL certificate on an Apache web server.


Step 1: Download and Extract the SSL Certificate

  1. You will receive a .zip file via email containing your True Business ID Wildcard SSL certificate. Download the file.

  2. Extract the contents of the .zip file into the directory where you store SSL certificates on your Apache server (for example: /usr/local/ssl/crt/).


Step 2: Install the Intermediate CA Certificate Bundle

  1. Download the Intermediate CA certificate bundle from the provided source.
    Note: Ensure you select the correct certificate bundle.

  2. The CA certificate bundle will look similar to the following:

    —–BEGIN CERTIFICATE—–
    MIID2TCCAsGgAwIBAgIDAjbQMA0GCSqGSIb3DQEBBQ

    b8ravHNjkOR/ez4iyz0H7V84dJzjA1BOoa+Y7mHyhD8S
    —–END CERTIFICATE—–
  3. Copy the certificate content into a text editor and save it as intermediate.crt.

  4. Move this file to the same directory where your SSL certificates are stored (for example: /usr/local/ssl/crt/).


Step 3: Configure the Apache Server

  1. Open the httpd.conf file located in your Virtual Host configuration.

  2. Ensure the following directives exist within the Virtual Host section. Add them if they are missing:

    SSLCertificateFile /usr/local/ssl/crt/public.crt
    SSLCertificateKeyFile /usr/local/ssl/private/private.key
    SSLCertificateChainFile /usr/local/ssl/crt/intermediate.crt

    Note: Some Apache versions may not support SSLCACertificateFile. If so, use SSLCertificateChainFile instead.

  3. These directives specify the locations of the SSL certificate, private key, and intermediate certificate.

  4. If your files are stored in different locations or have different names, update the paths accordingly.

  5. Some servers use both httpd.conf and ssl.conf. Update only one file to avoid configuration conflicts that may prevent Apache from starting.


Step 4: Save and Restart Apache

  1. Save your configuration file and exit.

  2. Restart Apache using the following commands:

    apachectl stop
    apachectl startssl
  3. Your Wildcard SSL certificate should now be successfully installed on the Apache web server.

Reference:

Stepwise Guide on Installing a Wildcard SSL on Apache Web Server

https://cheapsslsecurity.com/blog/stepwise-guide-installing-wildcard-ssl-apache-web-server/

Leave a Reply

Your email address will not be published. Required fields are marked *