|
24 | 24 | import org.bouncycastle.openssl.PEMEncryptedKeyPair;
|
25 | 25 | import org.bouncycastle.openssl.PEMParser;
|
26 | 26 | import org.bouncycastle.pkcs.PKCS10CertificationRequest;
|
| 27 | +import org.elasticsearch.bootstrap.JavaVersion; |
27 | 28 | import org.elasticsearch.cli.MockTerminal;
|
28 | 29 | import org.elasticsearch.cli.Terminal;
|
29 | 30 | import org.elasticsearch.cli.UserException;
|
@@ -526,6 +527,9 @@ public void testNameValues() throws Exception {
|
526 | 527 | * - Checks that all 3 certificates have the right values based on the command line options provided during generation
|
527 | 528 | */
|
528 | 529 | public void testCreateCaAndMultipleInstances() throws Exception {
|
| 530 | + assumeFalse("JDK bug JDK-8266279, https://github.com/elastic/elasticsearch/issues/72359", |
| 531 | + JavaVersion.current().compareTo(JavaVersion.parse("8")) == 0); |
| 532 | + |
529 | 533 | final Path tempDir = initTempDir();
|
530 | 534 |
|
531 | 535 | final Terminal terminal = new MockTerminal();
|
@@ -656,6 +660,9 @@ Path resolveOutputPath(Terminal terminal, OptionSet options, String defaultFilen
|
656 | 660 | * - Checks that the PKCS12 certificate and the PEM certificate trust one another
|
657 | 661 | */
|
658 | 662 | public void testTrustBetweenPEMandPKCS12() throws Exception {
|
| 663 | + assumeFalse("JDK bug JDK-8266279, https://github.com/elastic/elasticsearch/issues/72359", |
| 664 | + JavaVersion.current().compareTo(JavaVersion.parse("8")) == 0); |
| 665 | + |
659 | 666 | final Path tempDir = initTempDir();
|
660 | 667 |
|
661 | 668 | final MockTerminal terminal = new MockTerminal();
|
|
0 commit comments