This article will explain how to configure the SSL Certificate using Let's Encrypt.
ACSIA XDR Plus, is installed on this Linux distribution:
- Ubuntu 20.04
Here the distribution requires full SSH root access or a user with sudo privileges. It needs also a valid domain name pointed to your server's IP address.
In this tutorial we will use domain.com. A part of the steps to be performed is on your Linux distribution.
Let's start the Let's Encrypt installation procedure on Ubuntu 20.04 using the command:
sudo apt install certbot
Creation of the certificate
To create the certificate follow these steps:
- Execute this command (choose the name of the domain, interactive command):
sudo certbot certonly -d domain.com
- Switch on acsia user:
sudo su - acsia
- Check the permissions of the directories below:
/etc/letsencrypt / archive
- To check the permissions use the following commands;
sudo chmod -R 755 /etc/letsencrypt/live
sudo chmod -R 755 /etc/letsencrypt/archive
- Execute the command below:
acsia_deploy_ssl_certs --certificate /etc/letsencrypt/live/yourdomain.io/fullchain.pem --key /etc/letsencrypt/live/yourdomain.io/privkey.pem --domain yourdomain.io
- Finally, perform the restart on your acsia server:
Verify on the browser that the certificate is up.
The validity of this certificate is usually 3 months.
Run the following command to check if the expiration date or if the certificate is valid
certbot renew .