CA-issued SSL certificates are subject to a validity period set by the issuing authority. When the certificate approaches its expiration date, it is necessary to replace it. This involves updating the current .crt and .key files with the new ones and then restarting Saga. The following documentation provides guidance on how to perform this update.
Obtaining the Correct Certificate Files
As detailed in Saga SSL Certificate Management, SSL certificates can come in different file formats, both binary and textual. Saga requires the PEM format for SSL certificates, specifically the variant that utilizes two separate files: one with a .key extension and another with a .crt extension.
Should you receive a new certificate in a format other than the two-file PEM format, it will need to be converted. If the certificate is a .pfx file, refer to the Saga SSL Certificate Management documentation for instructions on conversion to .key and .crt files. For other formats, please contact your certificate provider to obtain the correctly formatted files.
Placing the Certificate Files in the Appropriate Directory
The new .key and .crt files should be placed in the directory D:\Program Files\ayfie\saga\volumes\Traefik\certs on the server hosting Saga. This assumes the installation directory is the recommended D:\Program Files\ayfie\saga. Ensure that these files are named identically to the ones they are replacing.
Restarting Saga
To activate the updated certificate, Saga must be restarted. Execute the following commands (assumes the use of the recommended installation path):
cd "D:\Program Files\ayfie\saga" .\stop-saga.ps1 .\saga.ps1