【问题标题】:Running gRPC server on Raspberry Pi with SSL使用 SSL 在 Raspberry Pi 上运行 gRPC 服务器
【发布时间】:2019-07-01 12:33:36
【问题描述】:

我无法在启用 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 tcnativeboringssl 不是为 ARM 处理器构建的。但是有什么选择呢? 我可以在 Maven 中配置其他东西吗?

【问题讨论】:

    标签: ssl raspberry-pi arm grpc grpc-java


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2021-11-12
      • 2020-01-21
      • 2020-06-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-29
      • 1970-01-01
      • 2017-04-11
      相关资源
      最近更新 更多