You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (Jira)" <ji...@apache.org> on 2020/03/04 11:41:00 UTC

[jira] [Updated] (QPID-8402) [Broker-J][Tests] Use Bouncy Castle API to generate certificate resources on the fly in unit and system tests

     [ https://issues.apache.org/jira/browse/QPID-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-8402:
-----------------------------
    Issue Type: Improvement  (was: Task)

> [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: Improvement
>          Components: Broker-J
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>            Priority: Major
>             Fix For: qpid-java-broker-8.0.0
>
>         Attachments: 0001-QPID-8402-Broker-J-Add-bouncycastle-test-dependecies.patch, 0002-QPID-8402-Broker-J-Add-generation-of-self-signed-cer.patch
>
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org