Hi,

My C++ Client tries to connect my dev server using TLS but connection keeps 
failing while checking the dev server certificate.

The go version uses the following workaround to skip the verification:

    grpcOpts := []grpc.DialOption{}
    creds := credentials.NewTLS(&tls.Config{InsecureSkipVerify: *
insecureSkipVerify})
    grpcOpts = append(grpcOpts, grpc.WithTransportCredentials(creds))

What is the equivalent with C++ GRPC library?

Should I use *ChannelArguments::SetSslTargetNameOverride* ?

Thank you,
David

-- 
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 post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/c8a9806d-6792-4d36-913c-78647bba1d94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to