Hi,
I'm trying to establish a secure gRPC channel in a C++ based client. The connection gets rejected with the following error message:
"Peer name A.B.C.D is not in peer certificate"
As far as I understand the expected peer_name is the ip of the server to which the connection is being established. I have added the IP address to the certificate as a Subject Alternate Name:
X509v3 extensions:
X509v3 Subject Alternative Name:
IP Address:A.B.C.D
I've added several logs to gRPC and it seems the certificate never gets parsed and properties not getting extracting. Any clue to why this isn't working will be greatly appreciated. The capture shows the certificate as part of the server ssl hello.
gRPC version: 1.2.5
client language: C++
Thanks!