Todd Lipcon has posted comments on this change.

Change subject: KUDU-1965: Allow user provided TLS certificates to work with 
KRPC
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/6555/3/src/kudu/rpc/server_negotiation.cc
File src/kudu/rpc/server_negotiation.cc:

Line 629:   if (!cert.is_user_provided()) {
I don't see how this could work -- GetRemoteCert is coming off the TLS 
handshake, and the TLS library doesn't know the source of the cert on the other 
side. i.e this will always be false, so I don't think the change has any affect.

I think this has to be some explicit configuration on the messenger or acceptor 
which says whether to accept IPKI certs (in which case it should do this check) 
or to accept host-based PKI certs (in which case it probably should be doing 
some kind of hostname verification check)


-- 
To view, visit http://gerrit.cloudera.org:8080/6555
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ica6e2bacb378553723467f0dc54a166885db1e4d
Gerrit-PatchSet: 3
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-HasComments: Yes

Reply via email to