Giter Site home page Giter Site logo

Comments (2)

ViViDboarder avatar ViViDboarder commented on May 13, 2024

That makes sense. The addition of this feature will be a little less straightforward as compared to the no verify one.

It looks like, so solve this within the application, when we initialize the connection with our LdapConnSettings, we will need to use set_connector(...) to provide a TlsConnector that, through it's builder, is provided a custom root certificate using ad_root_certificate.

Alternately, as far as I can tell, the system should, by default, use your system root certificate store. If you add your custom certificate to your system store, it should work just fine.

from vaultwarden_ldap.

Caligatio avatar Caligatio commented on May 13, 2024

I know just enough Rust to be dangerous and was surprised at the number of layers one must dig down to be able to specify a custom CA for TLS connections.

I also agree that fiddling with the image's CA bundle should also work. This also seems like a workaround rather than a solution as it means either the host must have the custom CA bundle to map in (currently mine does not but obviously this can be changed) or require creating a new image based on your image. It also has a light dependency on the underlying OS of your image not changing in case the OS's location for the system CA bundle changes.

from vaultwarden_ldap.

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.