This repository contains the scripts necessary to automate the manual SSL certificate renewal process.
The script is scheduled to run on a daily basis via GitHub actions.
To run the script manually, you can run the Certificate Expiry Check
GitHub Action.
Alternatively, you can use the following command from the application's root directory:
source run.sh certexpire
For this to work, you will need to have exported all secrets used in the application's configuration as environment
variables.
This may prove to be difficult as most api keys
are not viewable again once they are created, so it is generally
recommended to only run the script through the GitHub Action.
To trigger a test run, you can run the Certificate Expiry Check Test Run
GitHub Action from the GitHub Action tab.
This can also be set to run on branches to test any changes before merging into main.
You will need to provide an email address before running the action as a substitute for the users it would usually go to.
To run the unit tests, you can use the following command from the application's root directory:
source run.sh unittest