Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-13293

Support client reload of JKS/PEM certificates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.0, 2.8.0, 2.7.1
    • None
    • clients, security
    • None

    Description

      Producer/Consumer clients do not currently automatically reload certificates when the key stores were modified, or certificates expire. Currently one supplies key chains when instantiating clients only - there is no mechanism available to either directly reconfigure the client, or for the client to observe changes to the original properties set reference used in construction. Additionally, no work-arounds are documented that might given users alternative strategies for dealing with expiring certificates.

      Given that expiration and renewal of certificates is an industry standard practice, it could be argued that the current client certificate implementation is not fit for purpose. A mechanism should be provided such that clients can automatically detect, load, and use updated key chains from some abstracted source.

      Finally, It is suggested that in the short-term Kafka documentation be updated to describe any viable mechanism for updating client certs (perhaps closing existing client and then recreating?).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              teabot Elliot West
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: