Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Set Jetty's SslContextFactory object directly #449
SslContextFactory has many options to be set, so it is useful to build the object externally and pass it to the embedded Jetty.
Also, Jetty allows us to create another class that overrides methods in SslContextFactory and use this class instead (this is done by changing XML files in the standalone Jetty).
We managed that by adding the parameter :ssl-context-factory and changing ssl-context-factory function: https://github.com/nubank/pedestal/blob/ssl-context-factory/jetty/src/io/pedestal/http/jetty.clj#L44