Spring-Boot: How to load a keystore resource file either from the classpath or from the file system?

Advertisements My spring-boot application requires access to private keys via a Java keystore. For testing, I would like to use a test keystore that is available on the classpath (so I can easily execute the application as part of an integration test), while in production I would like to use a keystore from some external… Read More Spring-Boot: How to load a keystore resource file either from the classpath or from the file system?