Skip to content

Conversation

Seanstoppable
Copy link
Contributor

@Seanstoppable Seanstoppable commented Mar 12, 2025

This generates server certificates for integration tests, rather than rely on ones checked into the repo

My org has a pretty strict policy around certificates being checked in to a repo, and discovered this when trying to merge recent changes. To work around this, I suggest we generate the certificates as part of the server startup instead.
Bonus, tests won't fail whenever the expiration of the existing certificate expires.

@Seanstoppable Seanstoppable changed the title Generate server certs Generate server certs for MQTT test container Mar 12, 2025
@Seanstoppable Seanstoppable force-pushed the ssmith/generatecerts branch 2 times, most recently from 063e6dc to 60c1ee5 Compare March 12, 2025 04:43
This generates server certificates for integration tests, rather than
rely on ones checked into the repo
@Seanstoppable Seanstoppable marked this pull request as ready for review March 12, 2025 04:53
Copy link
Contributor

@phillip-stephens phillip-stephens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for this contribution!

@phillip-stephens phillip-stephens merged commit 41443e4 into zmap:master Mar 13, 2025
5 checks passed
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.

2 participants