I have my .jks file placed inside resources directory of spring boot app, now i need to configure the key store using system property. Have tried various ways like setting the property using System.setProperty("javax.net.ssl.keyStore", "abc.jks"); System.setProperty("javax.net.ssl.keyStore", "classpath:abc.jks");, nothing worked other than giving full path in the file system System.setProperty("javax.net.ssl.keyStore", "D:/../abc.jks");.How to configure the system property values, so that it works. I dont want it to be enabled for the embedded tomcat. Just want to set it up to the jvm.