Getting started
Installation & Setup
Administration
Audience Management
Email Marketing
Plug-Ins & Add-Ons
Developers
Advanced
Help
SSL Certificates
New SSL Certificate Initialization
If you want to activate SSL certificate and run Oempro with https://, please follow the listed steps below.
On the server that runs Oempro v4.9.1+ Docker version, go to the Oempro directory and then SSH login to the “oempro_haproxy” container:
Request the Let’s Encrypt SSL certificate:
Certbot will verify the domain and then issue the certificate. Here’s an example output:
In order to make the certificate usable by HAProxy, you need to combine certificates. Go to oempro/_dockerfiles/letsencrypt/live/ folder, and run;
Edit the _dockerfiles/haproxy.cfg file, uncomment HTTPS related two lines:
Make sure that you have replaced mydomain.com with your actual domain.
TIP: If you’ve multiple certificates to set for HAProxy, add .pem
files separating by space. Example:
If you make a change on haproxy.cfg file or on Dockerfile-haproxy file, simply follow these steps:
Don’t forget to edit /opt/oempro/data/config.inc.php
and change the value of APP_URL
from “http://” to “https://”
SSL Certificate Renewals
To renew the certificate every three months, run this command inside oempro_haproxy
Docker container:
After renewing the certificate, run the following command:
To apply changes, restart the HAProxy Docker container:
©Copyright Octeth, Inc. All rights reserved.