ci: keep provider cert when setting up director#213
Conversation
I believe as part of 2f355267db4c370eb5e7d0a9426220347cced9df (bosh-cli v7.10.4), the cert handling changed in the CLI from what AI tells me, in the CLI code now, when cloud_provider.cert is absent (because remove-provider-cert.yml removes it), the certPool is nil → the client falls back to verifying against system roots. The BOSH bootstrap agent's cert is signed by the private default_ca, which is not in the system root store → x509: certificate signed by unknown authority. with this opsfile present, we'd be falling back to default system certs, which wouldn't include what bosh uses ai-assisted=yes [TNZ-95674] AWS CPI fails to apply mandatory tags at creation time for multiple AWS resources
|
|
WalkthroughThis pull request updates the CI pipeline configuration in 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
(already flown)
I believe as part of cloudfoundry/bosh-cli#725 (bosh-cli v7.10.4), the cert handling changed in the CLI
from what AI tells me, in the CLI code now, when cloud_provider.cert is absent (because remove-provider-cert.yml removes it), the certPool is nil → the client falls back to verifying against system roots. The BOSH bootstrap agent's cert is signed by the private default_ca, which is not in the system root store → x509: certificate signed by unknown authority.
this shows up like this:
https://bosh.ci.cloudfoundry.org/teams/main/pipelines/bosh-aws-cpi/jobs/bats/builds/223
https://bosh.ci.cloudfoundry.org/teams/main/pipelines/bosh-aws-cpi/jobs/end-2-end/builds/146