Hi! I'm trying to connect to a gRPC server using TLS (gRPC version 1.76.0) 
on Windows. 
Here is my code: https://pastebin.com/eG8x8E5j

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


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/grpc-io/e877ae81-e364-4e0b-a859-e29c806291acn%40googlegroups.com.

Reply via email to