What exactly gRPC framework varifies with SslClientCertificateRequestType.RequestAndRequireAndVerify

17 views
Skip to first unread message

umi...@gmail.com

unread,
Jun 26, 2019, 1:18:13 PM6/26/19
to grpc.io
 Going through the modes of requesting client's SSL certificate by the server, I found this explanation for SslClientCertificateRequestType.RequestAndRequireAndVerify

Server requests client certificate and enforces that the client presents a
certificate
.
The certificate presented by the client is verified by the gRPC framework.
(For a successful connection the client needs to present a certificate that
can be verified against the root certificate configured
by the server)
The client's key certificate pair must be valid for the SSL connection to
be established.

I want to know what exactly gRPC framework varifies when client's certificate is presented to the server? Is it just CN / Subject cert fields or something else...

Looking through the code, as far as I could reach is file grpc/src/core/tsi/ssl_transport_security.cc:1884, but couldn't exactly get to the point where I can see which cert fields are compared and what else.

All the best,
Ugi
Reply all
Reply to author
Forward
0 new messages