Issue
Given I have file in
c:\path\to\file\keystore.jks
and my application.properties file contains
server.ssl.key-store=c:\path\to\file\keystore.jks
I get the following exception
java.io.FileNotFoundException: C:\Windows\Temp\tomcat.2910824355292831382\file:\c:\path\to\file\keystore.jks (The filename, directory name, or volume label syntax is incorrect)
What is the correct way to specify the path?
Solution
Check which version of tomcat is being used by spring boot. According to this github issue tomcat versions less than 7.0.66 relativize the server.ssl.key-store setting.
Answered By - joe90p