From d8f126d70a5d67f283cf98dca60b41dbcd8b95ef Mon Sep 17 00:00:00 2001 From: Tom Bentley Date: Mon, 14 Jan 2019 22:00:30 +0000 Subject: [PATCH] Fix KAFKA-7789 by increasing the key size for the RSA keys generated for (#6096) Reviewers: Jun Rao --- clients/src/test/java/org/apache/kafka/test/TestSslUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java b/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java index 90b6d8d83cf..b2de0e6a2b5 100644 --- a/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java +++ b/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java @@ -89,7 +89,7 @@ public class TestSslUtils { public static KeyPair generateKeyPair(String algorithm) throws NoSuchAlgorithmException { KeyPairGenerator keyGen = KeyPairGenerator.getInstance(algorithm); - keyGen.initialize(1024); + keyGen.initialize(2048); return keyGen.genKeyPair(); }