Skip to content

Certificates not reloaded unless ssl_multicert.config is touched #3931

Closed

Description

@d2r

Certificates that are pointed to by ssl_multicert.config can change, but ATS only reloads them if the timestamp on ssl_multicert.config is updated, which may not change as certificates do.

The current work-around is to update the timestamp via a tool like touch to trigger reloading of the current certificates.

It would be nice to reload the config if the certificate files are changed, since it is confusing to admins who expect certificates to be reloaded while the server is up.

Related to #1672

Activity

  1. zizhong commented on Jul 12, 2018

    @zizhong
    Member

    I remember I had a patch to address this. Not sure why it's not functioning. You can check https://github.com/apache/trafficserver/pull/301/files.
    I'd take a look when I got time.

  2. d2r commented on Oct 31, 2018

    @d2r
    ContributorAuthor

    This is still a valid issue.

  3. shinrich commented on Nov 1, 2018

    @shinrich
    Member

    I'll take a look at @zizhong's logic. I've been through there recently. Hopefully we just need to tweak something small to get the watching signaling propagating correctly.

    Now that we are also referencing and reloading client cert and key files in ssl_server_name.yaml, would be good to use a similar technique there.

  4. bryancall commented on May 30, 2019

    @bryancall
    Contributor

    The change went into commit: 4d2c262

  5. added this to the 10.0.0 milestone on May 30, 2019
  6. shinrich commented on Jul 1, 2021

    @shinrich
    Member

    I verified that you no longer have to touch the ssl_multicert.config file if a referenced file is updated. Getting ready to add an autest to exercise that case. I thought it went in with my recent PR #6609, but looking at @zizhong's commit, all my PR did was rearrange what he had already added, so the fix is likely in whatever versions include 4d2c262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions