You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aj...@apache.org on 2018/10/09 07:28:07 UTC
hadoop git commit: HDDS-588.
SelfSignedCertificate#generateCertificate should sign the certificate the
configured security provider. Contributed by Xiaoyu Yao.
Repository: hadoop
Updated Branches:
refs/heads/HDDS-4 81092150a -> e180547b4
HDDS-588. SelfSignedCertificate#generateCertificate should sign the certificate the configured security provider. Contributed by Xiaoyu Yao.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e180547b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e180547b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e180547b
Branch: refs/heads/HDDS-4
Commit: e180547b4a9abd2190c8711d289c0557b624e2c7
Parents: 8109215
Author: Ajay Kumar <aj...@apache.com>
Authored: Tue Oct 9 00:28:01 2018 -0700
Committer: Ajay Kumar <aj...@apache.com>
Committed: Tue Oct 9 00:28:01 2018 -0700
----------------------------------------------------------------------
.../hdds/security/x509/certificates/SelfSignedCertificate.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/e180547b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificates/SelfSignedCertificate.java
----------------------------------------------------------------------
diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificates/SelfSignedCertificate.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificates/SelfSignedCertificate.java
index fef7ac3..f221246 100644
--- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificates/SelfSignedCertificate.java
+++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificates/SelfSignedCertificate.java
@@ -103,8 +103,8 @@ public final class SelfSignedCertificate {
ContentSigner contentSigner =
- new JcaContentSignerBuilder(
- config.getSignatureAlgo()).build(key.getPrivate());
+ new JcaContentSignerBuilder(config.getSignatureAlgo())
+ .setProvider(config.getProvider()).build(key.getPrivate());
// Please note: Since this is a root certificate we use "ONE" as the
// serial number. Also note that skip enforcing locale or UTC. We are
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org