ACSIA Help Center

Configure the SSL using Let’s Encrypt on ACSIA

Maide UYGUR
Maide UYGUR
  • Updated

 

This article will explain how to configure the SSL Certificate using Let's Encrypt.

 

Prerequisites

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 and open port 80.
In this tutorial we will use domain.com. A part of the steps to be performed is on your Linux distribution.

 

Installation procedure

Let's start the Let's Encrypt installation procedure on Ubuntu 20.04 using the command:

snap install --classic certbot

step1.gif

 

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

step2.gif

 

  • Switch on acsia user:
sudo su - acsia
  • Check the permissions of the directories below:
/etc/etsencrypt/live
/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

 

step3.gif

 

  • 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

step4.gif

 

  • Finally, perform the restart on your acsia server:
acsia_stack_restart

 

step5.gif

 

Verification

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 .