Alex Rudyy created QPID-8402:
--------------------------------

             Summary: [Broker-J][Tests] Use Bouncy Castle API to generate 
certificate resources on the fly in unit and system tests
                 Key: QPID-8402
                 URL: https://issues.apache.org/jira/browse/QPID-8402
             Project: Qpid
          Issue Type: Task
          Components: Broker-J
            Reporter: Alex Rudyy
             Fix For: qpid-java-broker-8.0.0


Qpid Broker-J unit tests rely on a number of pre-generated kesstores, 
truststores, certificates, etc located either in module test resources folder  
or/and project folder {{./test-profiles/test_resources/ssl}}. Those resources 
need to be regenerated periodically in order to keep them valid and up to date. 
As part of work at QPID-8367, the number of required test resources has 
increased.

A bash script was created in order to automate the generation, though, it 
seems, that a better approach would be to generate the required resources on 
runtime using Bouncy Castle API.

It is not exactly clear whether  Bouncy Castle API would allow to generate all 
required test resources (including those added in QPID-8367). Though, we should 
switch to using Bouncy Castle API where it is possible,  especially, for 
generation of self-signed certificates and test CA authority certificates and 
corresponding keystores/truststores.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to