Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cert reissue compatibility #3449

Merged
merged 1 commit into from
Mar 17, 2020
Merged

Conversation

fspmarshall
Copy link
Contributor

Fixes an issue where certificate checks were causing nodes to go into an infinite restart loop when dealing with an older auth server.

Previously, nodes were checking for the presence of Host UUID in their cert principals, and triggering re-issue if it did not exist. This logic caused an infinite loop since older auth servers don't add Host UUID automatically.

After this patch nodes will explicitly add Host UUID to their own principals list, allowing them to ensure that their certificates contain Host UUID even if the Auth Server is outdated.

@fspmarshall fspmarshall force-pushed the fspmarshall/fix-uuid-cert-compat branch from 6782b35 to 2b9bd3d Compare March 17, 2020 17:09
Copy link
Contributor

@russjones russjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add test coverage for the scenario that broke?

@russjones
Copy link
Contributor

Original PR: #3377

@russjones russjones merged commit 24e6d73 into master Mar 17, 2020
@russjones russjones deleted the fspmarshall/fix-uuid-cert-compat branch March 17, 2020 18:30
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.

4 participants