To use HTTPS protocol, you must provide UCRM and the UCRM app container with SSL certificate. You can use either custom SSL certificate, or Let’s Encrypt service. This guide will help you to set it up.
Table of Contents
Steps to Set Up the SSL Certificate
- First, make sure your Server domain name is set up. Go to System > Settings >Application
- Update the UCRM Server port (in System > Settings > Application) to your desired port, typically 443 but you can choose 8443, etc.
- Make sure the Server port number set in system settings is the same used in your docker config file in section web_app (see /home/ucrm/docker-compose.yml)
- After that, proceed to upload CRT and KEY files using the form in System > Tools > SSL Certificate. Certificate files are automatically validated after the upload. If the validation passes, the web server will load new configuration automatically in a moment.
If you don't want to use custom SSL certificate, you can use Let's Encrypt service (this advanced feature is available as of version 2.4.0).
Steps to Set Up the Let's Encrypt Certificate
Available on UCRM v.2.4.0+
- The only thing you need to do to get a Let's Encrypt provided certificate is fill in your email address. This address will be used for important account notifications (like certificate expiration).
- To do this, go to System > Tools > SSL certificate, fill in your email address in the "Let's Encrypt" box and click "Enable / Update".
- UCRM will get a Let's Encrypt certificate for you and the new server configuration will be loaded automatically in a moment.