bharatviswa504 commented on a change in pull request #2000:
URL: https://github.com/apache/ozone/pull/2000#discussion_r603025531



##########
File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMSecurityProtocolServer.java
##########
@@ -225,7 +231,7 @@ public String getCertificate(String certSerialId) throws 
IOException {
         certSerialId);
     try {
       X509Certificate certificate =
-          certificateServer.getCertificate(certSerialId);
+          rootCertificateServer.getCertificate(certSerialId);

Review comment:
       No, as scmcertserver runs on all SCM's used the scmcertserver
   
   Underlying both CertificateServers use the same certstore. So, the semantics 
of this API is not changed, it can get any certificate.
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to