[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-commits
Subject: [activemq] branch master updated: NO-JIRA: refresh test keystores, fix failures on new OS/JDK combos
From: robbie () apache ! org
Date: 2020-11-26 13:57:06
Message-ID: 160639902669.10287.7513722536632148258 () gitbox ! apache ! org
[Download RAW message or body]
This is an automated email from the ASF dual-hosted git repository.
robbie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/master by this push:
new 45a400b NO-JIRA: refresh test keystores, fix failures on new OS/JDK combos \
where the old signature algs fail updated constraints 45a400b is described below
commit 45a400b37db3ff5baf42ff0de53881ebd99031bd
Author: Robbie Gemmell <robbie@apache.org>
AuthorDate: Thu Nov 26 13:45:29 2020 +0000
NO-JIRA: refresh test keystores, fix failures on new OS/JDK combos where the old \
signature algs fail updated constraints
---
activemq-amqp/src/test/resources/README.txt | 17 +++++++++++++++++
activemq-amqp/src/test/resources/alternative.keystore | Bin 2201 -> 2116 bytes
activemq-amqp/src/test/resources/keystore | Bin 3705 -> 2110 bytes
3 files changed, 17 insertions(+)
diff --git a/activemq-amqp/src/test/resources/README.txt \
b/activemq-amqp/src/test/resources/README.txt new file mode 100644
index 0000000..0240359
--- /dev/null
+++ b/activemq-amqp/src/test/resources/README.txt
@@ -0,0 +1,17 @@
+# The various keystores/truststores here were created with the following commands.
+# You can source this file to run it as a sript to regenerate them.
+
+# NOTE: This module isnt a good example of how to generate keypairs and use \
keystores. This should be replaced, +# but needs various module-wide changes to \
the tests and their client/brokers use of keys/certs/trust. +
+# Clean up existing files:
+# ------------------------
+rm -f keystore alternative.keystore
+
+# Create a key pair
+# -----------------
+keytool -storetype jks -keystore keystore -storepass password -keypass password \
-alias activemq -genkey -keyalg "RSA" -keysize 2048 -dname "O=ActiveMQ,CN=localhost" \
-validity 9999 +
+# Create an alternative keypair, to allow use in provoking 'failure to trust' it \
when matched against the above +# \
----------------------------------------------------------------------------------------------------------------------
+keytool -storetype jks -keystore alternative.keystore -storepass password -keypass \
password -alias alternative -genkey -keyalg "RSA" -keysize 2048 -dname \
"O=Alternative,CN=localhost" -validity 9999
diff --git a/activemq-amqp/src/test/resources/alternative.keystore \
b/activemq-amqp/src/test/resources/alternative.keystore index 6ab1286..275ec45 100644
Binary files a/activemq-amqp/src/test/resources/alternative.keystore and \
b/activemq-amqp/src/test/resources/alternative.keystore differ
diff --git a/activemq-amqp/src/test/resources/keystore \
b/activemq-amqp/src/test/resources/keystore index 9ee6adf..161180e 100644
Binary files a/activemq-amqp/src/test/resources/keystore and \
b/activemq-amqp/src/test/resources/keystore differ
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic