Skip to content

Conversation

@Bohlski
Copy link
Contributor

@Bohlski Bohlski commented Oct 2, 2024

So some test certificates had expired over the summer period which meant that tests would suddenly fail when trying to build the project..
For some reason, these certificates along with some derived info were hardcoded in the test code while also being present in the resources directory.

This fix renews the certificates and ensures that they are always loaded from the resource-files instead of the hardcoded solution. It also provides a script for easy renewal of the certs for future use.

While my initial idea was to make it part of the test code to keep the certificates up-to-date, I figured that wouldn't be an optimal solution either as test resources should really just be static files, so I made the compromise of having to just update the certs manually. At least it only has to be done once every 10 years..

@Bohlski Bohlski requested a review from m-atlantis October 2, 2024 13:49
@m-atlantis m-atlantis merged commit 7953d24 into master Jan 15, 2025
@m-atlantis m-atlantis deleted the fix-outdated-certs-in-tests branch January 15, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants