Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL/TLS termination at the application level #231

Open
FabioPinheiro opened this issue Feb 16, 2024 · 0 comments
Open

SSL/TLS termination at the application level #231

FabioPinheiro opened this issue Feb 16, 2024 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@FabioPinheiro
Copy link
Contributor

This is a feature request for SSL/TLS termination at the application level.

SSL/TLS termination refers to the process of decrypting encrypted traffic (HTTPS)

Until now all deployments of the mediator is either for a developing environment or it uses proxies for SSL/TLS termination.
Which is a perfect good option. But would be nice if we give the option of deploy a production environment as a standalone without any other requirements (a proxy).

(More concretely a standalone in the context of the JVM application. Without using Docker with a proxy inside)

Should be straightforward to make SSL/TLS termination at the application level.
Here is an example using a hard code certificate in the resource:

  val sslConfig = SSLConfig.fromResource(
    behaviour = SSLConfig.HttpBehaviour.Accept,
    certPath = "server.crt",
    keyPath = "server.key",
  )

  private val config = Server.Config.default
    .port(8090)
    .ssl(sslConfig)

Just a question what is the best way to pass the certificate.

This is it not on the roadmap!
So if you want this issue please comment here!

@FabioPinheiro FabioPinheiro added enhancement New feature or request question Further information is requested labels Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant