Galsza commented on code in PR #4808:
URL: https://github.com/apache/ozone/pull/4808#discussion_r1221290184
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/client/DefaultCertificateClient.java:
##########
@@ -865,6 +906,20 @@ public synchronized X509Certificate getRootCACertificate()
{
return null;
}
+ @Override
+ public Set<X509Certificate> getAllRootCaCerts() {
+ return rootCaCertificates.stream().
+ map(this::firstCertificateFrom)
Review Comment:
Thanks, that's a good idea. I'm going to double check if these files are
really only containing only one cert and implement your suggested change after.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]