I have same problem as described #67, for me -Djavax.net.ssl.keyStore property is still not being read. If I use SSLPoke.class with same parameters I can successfully connect to consul server.
Here is my code:
public class Application {
@RequestMapping("/")
public String home() {
return "Hello World";
}
public static void main(String[] args) {
System.setProperty("javax.net.ssl.trustStore", "REDACTED");
System.setProperty("javax.net.ssl.keyStore", "REDACTED");
System.setProperty("javax.net.ssl.keyStorePassword", "REDACTED");
System.setProperty("javax.net.ssl.trustStorePassword", "REDACTED");
SpringApplication.run(Application.class, args);
}
}
I have same problem as described #67, for me -Djavax.net.ssl.keyStore property is still not being read. If I use SSLPoke.class with same parameters I can successfully connect to consul server.
Here is my code: