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.
Signed-off-by: Abdul-Az aazeez@progress.com
https://chefio.atlassian.net/browse/KINETICS-233
π© Description: What code changed, and why?
chef-automate cert-rotate --automate --root-ca "<>" --private-cert "<>" --public-cert "<>" --node β<>β
This will rotate the certificate in the given Automate node.
βοΈ Related Resources
π Definition of Done
chef-automate cert-rotate --automate --root-ca "<>" --private-cert "<>" --public-cert "<>" --node β<>β
Note: root-ca is ignored when --node flag is provided
π How to Build and Test the Change
Add this package in your manifest while deploying HA:
sahiba3108/automate-ha-deployment/0.1.0/20221028084038
Install this pkg in your bastion host:
hab pkg install aazeez/automate-cli/0.1.0/20221114130452 -bf
Run the below command in bastion:
chef-automate cert-rotate --public-cert client.pem --private-cert client-key.pem --root-ca root-ca.pem --automate --node ""
(You can also use --postgres flag instead of pg)
This will rotate the public and private cert in given pg node when root cert is same.
β Checklist
All PRs must tick these:
With occasional exceptions, all PRs from Progress employees must tick these:
make spell
in any component directory)All PRs from Progress employees should tick these if appropriate:
Please add a note next to any checkbox above if you are NOT ticking it.
π· Screenshots, if applicable
Below is the link of testing demo video.
Screen.Recording.2022-11-14.at.6.37.23.PM.mov