79668681

Date: 2025-06-17 08:11:54
Score: 2
Natty:
Report link

It looks we can set GRPC_SSL_TARGET_NAME_OVERRIDE_ARG using CreateCustomChannel but it would be also good to have option to completely skip name verification

grpc::ChannelArguments args;

args.SetSslTargetNameOverride("alias.namespace.svc.cluster.local");

args.SetString(GRPC_SSL_TARGET_NAME_OVERRIDE_ARG, "alias.namespace.svc.cluster.local");

grpc::CreateCustomChannel(addr + ":" + port, channel_creds, args);

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Adam Dembek