The TLS Credentials are not designed to support that environment variable. 
However, the TlsCredentialsOptions have a much more flexible API for 
configuring certificates via the CertificateProvider interfaces. 
<https://github.com/grpc/grpc/blob/fbce37dd3e925eef938e9d9ee24345933a07541f/include/grpcpp/security/tls_credentials_options.h#L54-L56>

On Thursday, February 13, 2025 at 3:44:50 PM UTC-5 Erin McNulty wrote:

> Hi all!
>
> I see in the gRPC C++ docs that the SSLCredentialsOptions API supports 
> the GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable to specify a 
> default root cert. 
>
> Does the ::grpc::experimental::TlsChannelCredentialsOptions API support 
> specifying the default root certs this way?
>
> Similarly, does the tsi_create_ssl_client_handshaker_factory_with_options 
> API support specifying the default root certs through the env variable?
>
> Thank you!
> -Erin McNulty
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/grpc-io/82ecc02a-0ae8-4cd6-88f4-dbf6b851bb4an%40googlegroups.com.

Reply via email to