bharatviswa504 edited a comment on pull request #1031:
URL: https://github.com/apache/hadoop-ozone/pull/1031#issuecomment-642815995
From the code point of I see the usage of getServiceInfo used to get CaCert
and used by XceiverClientRatis and Grpc.
```
ServiceInfoEx serviceInfoEx = ozoneManagerClient.getServiceInfo();
String caCertPem = null;
if (OzoneSecurityUtil.isSecurityEnabled(conf)) {
caCertPem = serviceInfoEx.getCaCertificate();
}
```
Looking into the PR code now it has eliminated using this getServiceInfo,
and added a new API for getcaCert when security is enabled.
----------------------------------------------------------------
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]