Coder Social home page Coder Social logo

nota-ja / bosh-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudfoundry/bosh-cli

0.0 2.0 0.0 19.78 MB

New BOSH CLI (beta) that can skip certificate verification

License: Apache License 2.0

Go 99.26% Shell 0.66% Ruby 0.03% PowerShell 0.05%

bosh-cli's Introduction

bosh CLI

Special Note about This Fork

This fork allows bosh v2 CLI to skip TLS verification on communicating with a BOSH director.

Why?

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.

How to Build

Prerequisites

  • Go 1.6 or later

Build (only for Linux/bash environment)

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

How to Skip Certificate Verification

Just set the environment variable BOSH_DIRECTOR_INSECURE_HTTPS to true:

export BOSH_DIRECTOR_INSECURE_HTTPS=true

Usage

Installing using a package manager

Mac OS X (using Homebrew via the cloudfoundry tap):

$ brew install cloudfoundry/tap/bosh-cli

Client Library

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.

Developer Notes

bosh-cli's People

Contributors

krishicks avatar tylerschultz avatar mariash avatar cppforlife avatar cobyrne-pivot avatar zaksoup avatar maximilien avatar tjvman avatar dpb587-pivotal avatar lwoydziak avatar dennisdenuto avatar aaronshurley avatar codeword avatar medvedzver avatar zhang-hua avatar voelzmo avatar fydon avatar sukhil-suresh avatar dpb587 avatar andrew-su avatar drich10 avatar xtreme-nitin-ravindran avatar phanle avatar karlkfi avatar pivotal-saman-alvi avatar barthy1 avatar zankich avatar cornelius avatar wendorf avatar xingzhou avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.