Skip to content

fix(daemon): reuse auto-generated gRPC TLS material across restarts #65

Description

@cidrblock

Context

--grpc-tls always regenerates server.crt / server.key / ca.crt under the runtime tls/ directory on every start (writeAutoTlsMaterial). Clients that cached ca.crt break after a daemon (or container) restart.

Flagged during review of PR #63: #63

Proposal

  • If valid cert+key already exist under tls/, reuse them instead of regenerating
  • Document lifetime clearly in CONTAINER.md (and note when regeneration happens)
  • Optional: volume-mount guidance so container CA remains stable across restarts

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions