hyperledger-identus / hyperledger-identus/mediator
SSL/TLS termination at the application level
- Dominant language
- Scala
- Stars
- 22
- Forks
- 12
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 12
Description
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:
```scala
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!
Contributor guide
Assessment
This issue has not been assessed yet.