[ 
https://issues.apache.org/jira/browse/NIFI-9228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418302#comment-17418302
 ] 

ASF subversion and git services commented on NIFI-9228:
-------------------------------------------------------

Commit b4e0416b5ea57213e23ee95299f8db58c276155f in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b4e0416 ]

NIFI-9228 Refactored tests using TemporaryKeyStoreBuilder

- Added TemporaryKeyStoreBuilder with File.deleteOnExit() for KeyStore and 
TrustStore files
- Removed JKS files from nifi-security-utils tests
- Refactored usage of KeyStoreUtils.createKeyStoreAndGetX509Certificate() to 
TemporaryKeyStoreBuilder
- Removed unnecesary hadoop-minikdc test dependency in security-utils
- Replaced Mini KDC Hex utility with Bouncy Castle Hex utility in unit tests

Signed-off-by: Matthew Burgess <[email protected]>

This closes #5406


> Unit Tests Failing on Expired Certificates
> ------------------------------------------
>
>                 Key: NIFI-9228
>                 URL: https://issues.apache.org/jira/browse/NIFI-9228
>             Project: Apache NiFi
>          Issue Type: Task
>    Affects Versions: 1.15.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>             Fix For: 1.15.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Unit tests such as the {{TestHttpClient}} for Site-to-Site access are failing 
> on operations that require TLS negotiation due to the use of expired 
> certificates.  References to static keystore and truststore files in the 
> repository should be replaced with the temporary generated files.



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

Reply via email to