在 Ubtunu 18.04.4 LTS 上使用 GRPC 时无法将根证书添加到 ssl 上下文错误

在 Ubtunu 18.04.4 LTS 上使用 GRPC 时无法将根证书添加到 ssl 上下文错误

我正在尝试运行一个使用 SSL 进行许可证验证的应用程序。我收到以下错误,并且应用程序没有进一步进展

[license] License is for an online pool.
[license] endpoint online.symbtc.net:443, use insecure: false
E0404 22:05:22.807869220   21393 ssl_transport_security.cc:619] Could not add root certificate to ssl context.
E0404 22:05:22.807932048   21393 ssl_transport_security.cc:786] Could not load root certificates.
E0404 22:05:22.813890271   21393 ssl_transport_security.cc:619] Could not add root certificate to ssl context.
E0404 22:05:22.813915754   21393 ssl_transport_security.cc:1691] Cannot load server root certificates.
E0404 22:05:22.814347058   21393 security_connector.cc:1098] Handshaker factory creation failed with TSI_INTERNAL_ERROR.
E0404 22:05:22.814355494   21393 secure_channel_create.cc:121] Failed to create secure subchannel for secure name 'online.symbtc.net:443'
E0404 22:05:22.814370017   21393 secure_channel_create.cc:154] Failed to create subchannel arguments during subchannel creation.

我尝试创建虚拟机并尝试相同的应用程序,但没有看到错误。所以我缺少一些与 SSL/证书相关的东西,我不明白。我在使用 apt update 或其他可能依赖于 SSL 的任务时没有遇到任何问题。我环顾四周,但找不到任何关于这个问题的帖子。我尝试过更新 ca 证书并检查 ssl 安装

请告诉我是否可以采取任何调试步骤来确定出了什么问题,因为我现在不想采取重新安装 Ubuntu 的方式。

相关内容