jojochuang commented on code in PR #11725:
URL: https://github.com/apache/ozone/pull/11725#discussion_r4364864622
##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/utils/CertificateCodec.java:
##########
@@ -184,6 +185,8 @@ public static X509Certificate firstCertificateFrom(CertPath
certificatePath) {
}
public static CertificateFactory getCertFactory() throws
CertificateException {
+ // BouncyCastle, for the "PEM" cert path encoding only it supports
+ SecurityConfig.initSecurityProvider("BC");
Review Comment:
subsequent calls to this takes no time
--
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]