Skip to content

Commit a64a038

Browse files
committed
test(jmx): Add Subject Alternative Name (SAN) extension to SSL certificate generation
1 parent 69fe9f4 commit a64a038

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activemq-broker/src/test/java/org/apache/activemq/broker/jmx/ManagementContextSslTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public static void createKeyStore() throws Exception {
7676
"-keyalg", "RSA",
7777
"-keysize", "2048",
7878
"-dname", "CN=localhost,O=Test",
79+
"-ext", "SAN=dns:localhost,ip:127.0.0.1",
7980
"-validity", "1"
8081
).inheritIO().start();
8182
assertEquals("keytool should succeed", 0, p.waitFor());

0 commit comments

Comments
 (0)