title: Spark-java how to import keystore file with path inside jar
body: <p>I have an Spark-java application that has a couple of endpoints. Now i created a keystore file with a SSL certificate for my domain.</p>
  
  <p>This is how i added it in spark:</p>
  
  <p><code>secure("src/deploy/letsencrypt.jks", "mysecretpassword", null, null);</code></p>
  
  <p>If i run my application from inside intteliJ it is able to run, but once i package my application in a jar file it can't find the keystore file. I have searched a lot on the web and the answer to the question is: use an inputstream. Now spark only lets you give an path, not an inputstream.</p>
  
  <p>Is there a way to still access a keystore file from within a jar, just by specifying an path? Or is this not possible atm with spark?</p>