Page 1 of 1

How do I specify the keystore path?

PostPosted: Sun Jun 17, 2018 11:55 pm
by fishnet37222
I am running the latest stable version of Subsonic on Windows 10. I got an SSL certificate from Let's Encrypt and successfully added it to the default keystore (C:\Program Files\Java\jdk-10.0.1\lib\security\cacerts) for JDK 10. How do I specify the path to that file in the subsonic-service.exe.vmoptions file. Right now I have the following line in the file:

Code: Select all
-Dsubsonic.ssl.keystore="C:/Program Files/Java/jdk-10.0.1/lib/security/cacerts"


However, that gives me a malformed URL error (java.net.MalformedURLException: no protocol: "C:/Program Files/Java/jdk-10.0.1/lib/security/cacerts"). I get the same error if I use backslashes in the path.

Thanks in advance for any help.