Cannot create secure channel for client

30 views
Skip to first unread message

Joseph

unread,
Feb 13, 2026, 10:45:20 AM (3 days ago) Feb 13
to grpc.io
Hi! I'm trying to connect to a gRPC server using TLS (gRPC version 1.76.0) on Windows. 

However, I'm getting the following errors in the console:
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1770816303.480934 5684 ssl_transport_security.cc:886] Could not load any root certificate.
E0000 00:00:1770816303.481355 5684 ssl_transport_security.cc:1466] Could not load root certificates.
E0000 00:00:1770816303.488018 5684 ssl_transport_security.cc:886] Could not load any root certificate.
E0000 00:00:1770816303.488263 5684 ssl_transport_security.cc:2576] Cannot load server root certificates.
E0000 00:00:1770816303.488506 5684 ssl_credentials.cc:212] Handshaker factory creation failed with TSI_INVALID_ARGUMENT

The error appears to indicate that gRPC requires root certificates to be installed. However, according to following GitHub issue, the gRPC library now should load certificates automatically:

https://github.com/grpc/grpc/issues/25533

However, I continue to receive this error. I tried installing the certificates manually as shown in the code on pastebin, but errors still exists: https://pastebin.com/dzbqwg4U


Reply all
Reply to author
Forward
0 new messages