Unable to load keystore from classpath on version 5.2.21.Final

13 views
Skip to first unread message

Wojciech Mindewicz

unread,
Feb 26, 2024, 5:01:31 AM2/26/24
to jgrou...@googlegroups.com
Hello everyone!
Following spring boot release cycle I found an issue with JGroups release bounded to Infinispan version 14.0.24.Final.
I am not able to load keystore file configured via infinispan xml configuration file that is placed inside jar file (classpath resource). 

I've done my investigation and looks like file existing check introduced on January 25 in TLS.java init method does not takes classpath resources into account. 

I can also see that SslContextFactory that is used later on to create context for this protoloc does support keystores placed in classpath (look at loadKeystore method and Util.getResourceAsStream static function). 

Is there any chance of having also classpath files checked when initializing TLS? 

I can make a patch for that if necessary

Regards
Wojciech M

Bela Ban

unread,
Feb 26, 2024, 5:26:54 AM2/26/24
to jgrou...@googlegroups.com
Yes, a PR would be nice!
Thanks,
> --
> You received this message because you are subscribed to the Google
> Groups "jgroups-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jgroups-dev...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jgroups-dev/CAPTe-C1xDYL79r4a8%3DVzVFN-kf7eS6UkAsH8RVLBb%2BJXiC7iAw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jgroups-dev/CAPTe-C1xDYL79r4a8%3DVzVFN-kf7eS6UkAsH8RVLBb%2BJXiC7iAw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
Bela Ban | http://www.jgroups.org

Reply all
Reply to author
Forward
0 new messages