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

Always use the latest Ops Manager's Root CA #64

Merged
merged 3 commits into from
Jan 20, 2020

Conversation

watarumohawk
Copy link
Contributor

@watarumohawk watarumohawk commented Jan 10, 2020

With this fix, $BOSH_CA_CERT_PATH always has the lastest Ops Manager's Root CA.

Ops Manager can have multiple Root CAs at the same time because deleting old CA is optional on the document until PAS v2.7.
When Ops Manager has multiple Root CAs, bbr tasks fail because .certificate_authorities[0].cert_pem returns the old CA.
FYI, jq's last works fine for an array which has only 1 element and multiple elements.

With this fix, $BOSH_CA_CERT_PATH always has the lastest Ops Manager's Root CA.

Ops Manager can have multiple Root CAs at the same time because deleting old CA is optional on the document until PAS v2.7.
When Ops Manager has multiple Root CAs, bbr tasks fail because `.certificate_authorities[0].cert_pem` returns the old CA.
With this fix, $BOSH_CA_CERT_PATH always has the lastest Ops Manager's Root CA.

Ops Manager can have multiple Root CAs at the same time because deleting old CA is optional on the document until PAS v2.7.
When Ops Manager has multiple Root CAs, bbr tasks fail because `.certificate_authorities[0].cert_pem` returns the old CA.
FYI, jq's `last` works fine for an array which has only 1 element and multiple elements.
@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/170644968

The labels on this github issue will be updated when the story is started.

@aclevername
Copy link
Contributor

Hey @watarumohawk, thanks for the suggested changes. It has passed CI and the request makes a lot fo sense, Thanks. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants