java – path to trustStore – set property doesn’t work?

You have a typo – it is trustStore.

Apart from setting the variables with System.setProperty(..), you can also use

-Djavax.net.ssl.keyStore=path/to/keystore.jks

Leave a Comment