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!
--
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 [email protected].
To post to this group, send email to [email protected].
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/68b0fa08-5417-4292-a981-e5fb5141b777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.