Loading a custom certificate to DRP - Adaptive Applications - BlueCat Gateway - 3.0.8

Device Registration Portal Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
3.0.8

Load a custom certificate to DRP.

Before you start

mkdir -p /gateway/apache2

chmod 777 /gateway/apache2/ or chmod -R o=rwx

  1. Copy the folders named ssl and sites-available from the running docker.
    docker cp <container_name>:/etc/apache2/ssl /gateway/apache2/
    docker cp <container_name>:/etc/apache2/sites-available /gateway/apache2/
  2. Upload the certificate, key, and the intermediate certificate (if available) to /gateway/apache2/ssl/.
  3. Modify the /gateway/apache2/sites-available/https.conf, and change the following lines under SSLEngine.
  4. Edit SSLCertificateFile and SSLCertificateKeyFile to point to the new certificate and key. (By default, it points to the self-signed certificate.)
  5. Please note that the certificate must be of .crt format. Docker may not start if you use any other format like .cer.

    SSLCertificateFile /etc/apache2/ssl/<cert_name>.crt

    SSLCertificateKeyFile /etc/apache2/ssl/<cert_name>.key

    #SSLCACertificateFile /etc/apache2/ssl/<intermediate_cert_name>.crt

  6. Optional: If you have added an intermediate certificate in Step 5, then remove the pound sign "#" from "#SSLCACertificateFile" statement.