I believe that --ssl-https-verify-peer and --ssl-https-verify-host flags are only applied to HTTP protocol, for gRPC in c++, there is no flag to ignore if SSL cert doesn't match with hosts, which will throw Peer name XXX is not in peer certificate
The only way I found is using SetSslTargetNameOverride, and pass that from
, all the way to here:
https://github.com/triton-inference-server/client/blob/fdfa5cd8d893bbbb99b926612dd459b8005518f1/src/c%2B%2B/library/grpc_client.cc#L454-L475
I believe that
--ssl-https-verify-peerand--ssl-https-verify-hostflags are only applied to HTTP protocol, for gRPC in c++, there is no flag to ignore if SSL cert doesn't match with hosts, which will throwPeer name XXX is not in peer certificateThe only way I found is using SetSslTargetNameOverride, and pass that from
perf_analyzer/src/client_backend/triton/triton_client_backend.cc
Line 74 in 3c0bc9e