Skip to content

nginx: don't regenerate bad-host SSL cert - #2096

Merged
alxndrsn merged 4 commits into
getodk:nextfrom
alxndrsn:dont-regen-certs
Aug 5, 2026
Merged

nginx: don't regenerate bad-host SSL cert#2096
alxndrsn merged 4 commits into
getodk:nextfrom
alxndrsn:dont-regen-certs

Conversation

@alxndrsn

@alxndrsn alxndrsn commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
  • consistent with surrounding code: other keys are only generated if they don't exist
  • generation is fast, but repeating every startup is still a waste of effort

What has been done to verify that this works as intended?

It originally span out of #2066 when I was re-running the tests a lot and trying to speed things up.

Why is this the best possible solution? Were any other approaches considered?

Consistent with surrounding code - other keys are only generated if they don't exist.

How does this change impact users? Describe intentional behavior changes from code updates. What are the regression risks?

Speeds up nginx startup a tiny bit.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

* other keys are only generated if they don't exist
* generation is fast, but it's still a waste of effort
@matthew-white

Copy link
Copy Markdown
Member

This isn't a user-facing change, right? I.e., we don't expect users to be changing/replacing those files? It makes sense to me as a way to speed up tests.

@alxndrsn alxndrsn changed the title nginx: don't regenerate bad host SSL cert if exists nginx: don't regenerate bad-host SSL cert if exists Jul 30, 2026
@alxndrsn alxndrsn changed the title nginx: don't regenerate bad-host SSL cert if exists nginx: don't regenerate bad-host SSL cert Jul 30, 2026
@alxndrsn
alxndrsn merged commit 736344e into getodk:next Aug 5, 2026
7 checks passed
@alxndrsn
alxndrsn deleted the dont-regen-certs branch August 5, 2026 06:14
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