mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 01:39:02 +00:00
Update `SslAutoConfiguration` to the `ApplicationContext` class loader when loading SSL resources. Prior to this commit, the thread context class loader was used to load resources which could be incorrect. Specifically, when using a `ForkJoinPool` the thread context classloader defaults to the JRE `AppClassLoader` which does not include uber jar content. The underlying `JksSslStoreBundle` class and `PemSslStore.load(...)` method have been updated so support using a provided `ResourceLoader`. Fixes gh-42468