GithubHelp home page GithubHelp logo

Comments (4)

ryanjbaxter avatar ryanjbaxter commented on June 26, 2024

@mp911de do you happen to know?

from spring-cloud-config.

mp911de avatar mp911de commented on June 26, 2024

If you store your certificate in the trust store, then the client will accept it. In the Spring Cloud Vault CI build we do the same, however we create an own CA to sign certificates with. A YAML config looks like:

spring.cloud.vault.ssl:
  trust-store: file:…
  trust-store-password: changeit

For Vault usage through Spring Cloud Config the config should look like:

spring.cloud.config.vault.ssl:
  trust-store: file:…
  trust-store-password: changeit

from spring-cloud-config.

pH-Valiu avatar pH-Valiu commented on June 26, 2024

Thank you for the response,

so if I understood correctly, I can use spring.cloud.vault.ssl:trust-store: file:xyz, where xyz is the keystore.jks file from create_certificates.sh?
Or do I get that desired file from somewhere else?
And can I place that specific file relativ to the source code in like a ressource folder and just say:
file:trustStore.store or do I have to give the full path: C:\Project\resources\trustStore.store

from spring-cloud-config.

mp911de avatar mp911de commented on June 26, 2024

You can either go by relative or absolute paths.

from spring-cloud-config.

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.