]
Tristan Tarrant updated ISPN-7709:
----------------------------------
Fix Version/s: 9.2.0.Final
(was: 9.1.0.Final)
Generate keystores/truststore during the test phase
---------------------------------------------------
Key: ISPN-7709
URL:
https://issues.jboss.org/browse/ISPN-7709
Project: Infinispan
Issue Type: Bug
Components: Security, Test Suite - Server
Affects Versions: 9.0.0.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.2.0.Final
The testsuite for both the Hot Rod client and the server include pre-built keystores.
This causes a number of issues:
- they only work with Oracle/OpenJDK and break with IBM JDK
- there is very little information about how they were produced
- they have built-in expirations which are causing failures
By using the maven keytool plugin we can generate the certificates during the test phase.
Pros:
- uses the keytool packaged with the JDK which is being used by the build
- "documents" the process for generating the certificates and avoids storing
binary blobs in version control