Skip to content

Commit

Permalink
Fix SSL Stomp tests
Browse files Browse the repository at this point in the history
The tests were failing because of the test certificate expired
This patch replaces expired cert (keystore & truststore)

Signed-off-by: Artur Socha <artur.socha.mailbox@gmail.com>
  • Loading branch information
arso authored and mwperina committed Apr 15, 2024
1 parent 7a0ddb1 commit 689aa57
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions client/src/test/resources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Please note that SSL dependant tests will fail when test certificate is expired.

In such case renew it to fix the problem:

```
$ keytool -genkey -alias testcert -validity 1465 -keyalg RSA -keystore keystore
$ keytool -export -keystore keystore -alias testcert -file testcert.cer
$ keytool -import -file testcert.cer -alias testcert -keystore truststore
```

Binary file modified client/src/test/resources/keystore
Binary file not shown.
Binary file modified client/src/test/resources/truststore
Binary file not shown.

0 comments on commit 689aa57

Please sign in to comment.