在 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 的方式。

相關內容