Skip to content

fix(tlscert): false positive cert expiration - #35

Merged
DavidePrincipi merged 1 commit into
mainfrom
fix-7544
Oct 9, 2025
Merged

DavidePrincipi merged 1 commit into
mainfrom
fix-7544

Conversation

@DavidePrincipi

Copy link
Copy Markdown
Member

After certificate renewal, the old certificate remains in Traefik’s metrics, causing an alert to trigger based on its stale expiration date.

This change updates the alert logic to ignore old certificates by considering the maximum expiration date for each CN–SAN combination.

Refs NethServer/dev#7544

After renewal, the old certificate is still present in Traefik's
metrics.

Consider only the higher expire date for the same cn,sans aggregation,
to ignore old certificates.
@DavidePrincipi DavidePrincipi self-assigned this Oct 9, 2025
@DavidePrincipi
DavidePrincipi merged commit 83e5bfc into main Oct 9, 2025
@DavidePrincipi
DavidePrincipi deleted the fix-7544 branch October 9, 2025 14:06
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.

1 participant