Skip to content

Reload TLS certificates if they change #3533

@aleho

Description

@aleho
  • I already searched past issues
  • I already checked the wiki/TODO page

Is your feature request related to a problem? Please describe.

I'm using Let's Encrypt certificates with auto-renewal (for the webserver and Haraka). When a certificate changes, Haraka doesn't reload the file, resulting in frequently invalid certificates.

Describe the solution you'd like

Add a file watcher similar to config files to the TLS certificate files.

Describe alternatives you've considered

A systemd timer / cronjob to periodically restart Haraka with a matching frequency would probably work as certificates are renewed weeks before they expire. Currently in our infrastructure it's not possible to restart Haraka when a certificate is auto-renewed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions