title: Running Spring Boot app with custom key store from IntelliJ - "No such file or directory" for key store path
body: <p>I have a Spring Boot (Maven) app which I run as &quot;jar&quot; this way:</p>
  <pre><code>java  -Dspring.profiles.active=prod -Djavax.net.ssl.keyStore='/path/to/transport_keystore.jks' -Djavax.net.ssl.keyStorePassword='xxx' -jar app-1.1.0.jar
  </code></pre>
  <p>It works perfectly fine this way.</p>
  <p>I need to run this application via IntelliJ (for debugging), so I setup &quot;Run/Debug Configurations&quot;:</p>
  <p><a href="https://i.stack.imgur.com/M4zKK.png" rel="nofollow noreferrer">IntelliJ config</a></p>
  <p>When I run it from IntelliJ, I've got: &quot;java.io.FileNotFoundException: '/path/to/transport_keystore.jks' (No such file or directory)&quot; exception error, so app cannot see custom keystore.</p>
  <p>What I'm doing wrong?</p>