Giter VIP home page Giter VIP logo

Comments (7)

dsyer avatar dsyer commented on March 29, 2024

Can you provide some more detail or a pull request, please? You want the container to terminate SSL?

from spring-boot.

camechis avatar camechis commented on March 29, 2024

Sorry if I wasn't clear. Spring Security supports X509 Auth and I may be
wrong here but I believe there are some configurations that need to be done
to the container( Jetty/Tomcat ) in order for it to work. I just wasnt'
sure if spring-boot has these settings configurable since the containers
are embedded. For instance Dropwizard allows you to do this with its YAML
configuration.

http:
   connectorType: nonblocking+ssl
   ssl:
       keyStore: foo.jks
       keyStorePassword: "asfasf"
       trustStore: bar.jks
       trustStorePassword: "asfasf"
       wantClientAuth: true
       needClientAuth: true

from spring-boot.

dsyer avatar dsyer commented on March 29, 2024

I see. That makes sense (enabling SSL termination in the container). I don't think that would be very difficult. Pull requests welcome.

from spring-boot.

dsyer avatar dsyer commented on March 29, 2024

I added some documentation based on doing this yourself in a TomcatConnectorCustomizer (see https://github.com/spring-projects/spring-boot/blob/master/docs/howto.md)

from spring-boot.

btiernay avatar btiernay commented on March 29, 2024

Would be nice if this could be done declaratively a la Dropwizard. This is one area where Dropwizard has the edge over boot imho, and there aren't many of those :)

from spring-boot.

philwebb avatar philwebb commented on March 29, 2024

@ btiernay I've raised a new enhancement request issue for this. /cc yourself to #1084 .

from spring-boot.

btiernay avatar btiernay commented on March 29, 2024

@philwebb Thats awesome. You guys rock :)

from spring-boot.

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.