gpt4 book ai didi

ssl - 使用 SSL 在 Raspberry Pi 上运行 gRPC 服务器

转载 作者:太空宇宙 更新时间:2023-11-03 14:26:19 24 4
gpt4 key购买 nike

我无法在启用 SSL 安全性的 Raspberry Pi 上启动 gRPC 服务器(用 Java 编写)。我收到以下消息:

2019-07-01 13:39:29,988 [main                     ] DEBUG OpenSsl                   Failed to load netty-tcnative; OpenSslEngine will be unavailable, unless the application has already loaded the symbols by some other means. See http://n
etty.io/wiki/forked-tomcat-native.html for more information.
java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_linux_arm_32, netty_tcnative_linux_arm_32_fedora, netty_tcnative_arm_32, netty_tcnative]

我认为 netty tcnative boringssl 不是为 ARM 处理器构建的。但是有什么选择呢?我可以在 maven 中配置其他东西吗?

最佳答案

参见 gRPC SECURITY.md documentation .对于 ARM,使用 Java 9+ 是最简单的。 Java 9+ 也往往表现更好,因为许多 Java 7/8 是在 ARM 上解释的。

关于ssl - 使用 SSL 在 Raspberry Pi 上运行 gRPC 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56835805/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com