fix: key usage attrs on intermediate issuer #196
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WARNING! This may be disruptive to jobs as this changes the pki issuer; care is needed in following the steps below.
Note: This commit and procedure do not apply to prem clusters and only apply to AWS clusters
This commit fixes broken crl signing capability of the intermediate ca and other missing issuer key features.
allowed_uses
was not correct format and effectively a no-op.With this commit's change, the process below needs to be performed in to actually rotate the issuer with corrected key permissions.
Example cmd to determine if your cluster is affected -- with admin vault creds, issue:
The vault agent on each Nomad client machine will pull the updated pki which will get placed in
/etc/ssl/certs/
upon expiration of the existing pki cert TTL. Rather than wait for this to happen over a period of a few days, vault-agent metal service can be restarted on each Nomad client for a controlled update, one-by-one, starting with the node(s) that would be least disruptive to any running jobs to ensure that the updated pki switchover is successful before continuing. Consul, nomad and nomad-follower metal services may also need a manual restart after vault-agent is restarted.