Skip to content

Commit

Permalink
Add JDK/JRE 8 Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 22, 2024
1 parent 606470d commit 5ccbf9b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/design-document/01-event-handling-and-integration/02-https.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ eventMesh.server.admin.ssl.cer=admin-server.jks # place the file in the confPath
eventMesh.server.admin.ssl.pass=eventmesh-admin-server
```

### JDK/JRE 8 Compatibility

Most mainstream distributions of JDK/JRE 8 support TLSv1.3, such as the following versions:

- [Oracle 8u261](https://www.oracle.com/java/technologies/javase/8u261-relnotes.html#JDK-8145252) or higher (released in July 2020)
- [Azul Zulu 8u262](https://www.azul.com/newsroom/azul-systems-brings-updated-transport-layer-security-to-java-se-8/) or higher (released in July 2019)
- [Amazon Corretto 8u272](https://aws.amazon.com/cn/about-aws/whats-new/2020/10/amazon-corretto-quarterly-updates-now-available/) or higher (released in October 2020)

EventMesh has TLSv1.3 enabled by default through `SSLContext` configuration, so you don't need to add the `jdk.tls.client.protocols` JVM option.

If your JDK/JRE 8 version does not support TLSv1.3, you can lower the TLS version of the `eventMesh.server.admin.ssl.protocol` property.

## Enable TLS in SDK

### Configuration on the eventmesh-runtime side
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ eventMesh.server.admin.ssl.cer=admin-server.jks # 将文件置于启动脚本 st
eventMesh.server.admin.ssl.pass=eventmesh-admin-server
```

### JDK/JRE 8 兼容性

大部分主流 JDK/JRE 8 发行版支持 TLSv1.3,例如以下版本:

- [Oracle 8u261](https://www.oracle.com/java/technologies/javase/8u261-relnotes.html#JDK-8145252) 或更高(发布于 2020 年 7 月)
- [Azul Zulu 8u262](https://www.azul.com/newsroom/azul-systems-brings-updated-transport-layer-security-to-java-se-8/) 或更高(发布于 2019 年 7 月)
- [Amazon Corretto 8u272](https://aws.amazon.com/cn/about-aws/whats-new/2020/10/amazon-corretto-quarterly-updates-now-available/) 或更高(发布于 2020 年 10 月)

EventMesh 已通过`SSLContext `配置默认启用 TLSv1.3,无需您添加`jdk.tls.client.protocols`JVM 选项。

如果您的 JDK/JRE 8 版本不支持 TLSv1.3,可以降低`eventMesh.server.admin.ssl.protocol`属性的 TLS 版本。

## 在 SDK 中启用 TLS

### eventmesh-runtime 侧配置
Expand Down

0 comments on commit 5ccbf9b

Please sign in to comment.