- Documentation: bosh.io/docs/cli-v2
- Slack: #bosh on https://slack.cloudfoundry.org
- Mailing list: cf-bosh
- CI: https://main.bosh-ci.cf-app.com/teams/main/pipelines/bosh:cli
- Roadmap: Pivotal Tracker
This fork allows bosh v2 CLI to skip TLS verification on communicating with a BOSH director.
I can understand the CFF's decision to force certificate verification (1, 2), but feel too strict to conform it for some existing environments.
Thare are still so many BOSH environments built with bosh CLI v1 and/or bosh-init. To communicate with the BOSH director in those environments using bosh CLI v2, it may sometimes be difficult to provide the right certificates especially when the director is using a self-signed certificate.
So I've made this fork for tentative use until bosh CLI v2 will become the mainstream.
- Go 1.6 or later
git clone https://github.com/nota-ja/bosh-cli.git
cd bosh-cli
git remote add upstream https://github.com/cloudfoundry/bosh-cli.git # For the sake of version of build
git fetch upstream -p # For the sake of version of build
bin/build-fork
And you'll get the bosh
executable binary in the top of the repository.
./bosh -v
Just set the environment variable BOSH_DIRECTOR_INSECURE_HTTPS
to true
:
export BOSH_DIRECTOR_INSECURE_HTTPS=true
Mac OS X (using Homebrew via the cloudfoundry tap):
$ brew install cloudfoundry/tap/bosh-cli
This project includes director
and uaa
packages meant to be used in your project for programmatic access to the Director API.
See docs/example.go for a live short usage example.