Skip to content

xds: fix identity certificate rotation with separate CA provider - #13060

Open
Anshika-019 wants to merge 1 commit into
grpc:masterfrom
Anshika-019:Issue_13058
Open

Anshika-019 wants to merge 1 commit into
grpc:masterfrom
Anshika-019:Issue_13058

Conversation

@Anshika-019

Copy link
Copy Markdown

Fixes #13058

This change fixes identity certificate rotation when the identity
certificate and CA trust bundle are provided by separate
file_watcher instances.

The previous implementation cleared the saved trusted roots
after rebuilding the SslContext. When the CA provider did not
send another update, subsequent identity certificate rotations
could not rebuild the SslContext.

This change preserves the last known-good trust roots so that
identity certificate rotations can correctly rebuild the
SslContext.

Testing

  • Added regression test for separate file_watcher instances.
  • Ran the relevant xDS tests.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 15, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: Anshika-019 / name: Anshika Pandey (97413ed)

@shivaspeaks
shivaspeaks requested review from kannanjgithub and removed request for kannanjgithub September 15, 2026 17:48
@shivaspeaks

Copy link
Copy Markdown
Member

Hi @Anshika-019, please sign the EasyCLA for us to review your PR.

@Anshika-019

Copy link
Copy Markdown
Author

/easycla

@Anshika-019

Anshika-019 commented Sep 15, 2026

Copy link
Copy Markdown
Author

@shivaspeaks I was signed easy cla, and test case also passed. Please check it.

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.

xDS: identity cert never refreshes when the CA root provider is a separate file_watcher instance

2 participants