Todd Lipcon has posted comments on this change.

Change subject: master: complete hooking up tokens and IPKI
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/6075/3/src/kudu/master/catalog_manager.cc
File src/kudu/master/catalog_manager.cc:

PS3, Line 781:   auto* tls = master_->mutable_tls_context();
             :   
RETURN_NOT_OK_PREPEND(tls->AddTrustedCertificate(ca->ca_cert()),
             :                         "could not trust master CA cert");
             :   // If we haven't signed our own server cert yet, do so.
             :   boost::optional<security::CertSignRequest> csr =
             :       tls->GetCsrIfNecessary();
             :   if (csr) {
             :     Cert cert;
             :     RETURN_NOT_OK_PREPEND(ca->SignServerCSR(*csr, &cert),
             :                           "couldn't self-sign master cert with 
CA cert");
             :     RETURN_NOT_OK_PREPEND(tls->AdoptSignedCert(cert),
             :                           "couldn't adopt signed master cert");
> As I understand, CheckInitCertAuthority() is called only in the context of 
hm, interesting idea.. although this would be the first place in which follower 
masters are reading the systable. I thought we overthrew that idea for follower 
masters reading TSKs on a recurring task basis? Adar, curious your thoughts on 
this?


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

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

Reply via email to