Skip to content

An application to automatically manage the renewal of certificates, and notify when certificates are close to expiring. • This repository is defined and managed in Terraform

License

Notifications You must be signed in to change notification settings

ministryofjustice/operations-engineering-certificate-renewal

Repository files navigation

Operation Engineering Certificate Renewal

repo standards badge

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.

Running the Script Manually

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

Note

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.

Triggering a Test Run

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.

Running the Unit Tests

To run the unit tests, you can use the following command from the application's root directory:

source run.sh unittest

About

An application to automatically manage the renewal of certificates, and notify when certificates are close to expiring. • This repository is defined and managed in Terraform

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published