Giter Club home page Giter Club logo

Comments (8)

dpb587-pivotal avatar dpb587-pivotal commented on August 20, 2024

There was some previous discussion about this in cloudfoundry-attic/bosh-init#102 before the repo was forked. Might be helpful to read up on that for some additional context. We're trying very hard to avoid insecure setups with this new library.

Not familiar with your specific product, but is it truly a requirement to support insecure environments?

from bosh-cli.

craigfurman avatar craigfurman commented on August 20, 2024

I appreciate the desire to avoid insecure setups, and agree that disabling TLS verification should be avoided even in development environments (and of course always in production). Unfortunately a flag to ignore cert verification is already a supported feature of our product, designed for development environments (e.g. bosh-lite provisioned through vagrant).

We would also prefer the URL that we give to the library not to be rewritten, so that if we give an http scheme, it is not changed to https by the library.

from bosh-cli.

dpb587-pivotal avatar dpb587-pivotal commented on August 20, 2024

To be clear, bosh has always communicated over https with the director (never http). It's just that self-signed certificates were used if the operator didn't provide any, and there was lax trust policies in that case. Also, recent versions of bosh-lite are running with more trustable certificates that bosh-cli supports.

@cppforlife may have some thoughts as well with regards to your product requirements.

from bosh-cli.

cppforlife avatar cppforlife commented on August 20, 2024

@craigfurman im opposed to adding -k like functionality to either library or cli. let's chat more about how to have you all switch to using verifiable certificates.

from bosh-cli.

craigfurman avatar craigfurman commented on August 20, 2024

@cppforlife it isn't about as switching to globally verifiable certs as a development team, ignoring TLS verification (however inadvisable) is already a supported feature of an existing product of ours that interacts with bosh.

Unless we remove this feature we can't use this, unfortunately.

@dpb587-pivotal oops, I forgot about that! It might still be useful for URLs to not be rewritten, as it allows the CLI/library to interact with bosh web mocks that have no reason to serve TLS.

cc @jamesjoshuahill @avade

from bosh-cli.

avade avatar avade commented on August 20, 2024

The original reason for adding support for ignoring SSL errors was for the BOSH lite use case for local development.

Now that BOSH lite uses trustable certs for Vagrant, then we may be able to remove support for this feature in our product.

from bosh-cli.

cppforlife avatar cppforlife commented on August 20, 2024

I'm going to consider this closed then based on Alex's response about bosh-lite.

from bosh-cli.

craigfurman avatar craigfurman commented on August 20, 2024

@cppforlife I'm still against rewriting URLs, if for no other reason than simplifying the use of web-mocking the bosh API (no need to serve TLS from the mock).

from bosh-cli.

Related Issues (20)

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.