Commit 6903490b authored by Jaime L Magiera's avatar Jaime L Magiera
Browse files

Cleaning up

parent 1a5848d3
...@@ -19,12 +19,6 @@ public class App ...@@ -19,12 +19,6 @@ public class App
System.out.println(arg); System.out.println(arg);
} }
try {
App.class.getResource("/mnt/secrets/keystore.jks").getFile();
} catch (Exception e) {
e.printStackTrace();
}
String trustStore = System.getProperty("javax.net.ssl.trustStore"); String trustStore = System.getProperty("javax.net.ssl.trustStore");
if (trustStore == null) { if (trustStore == null) {
...@@ -36,8 +30,8 @@ public class App ...@@ -36,8 +30,8 @@ public class App
System.out.println("HOOOORRAAYYYY, it was finally set properly!!!"); System.out.println("HOOOORRAAYYYY, it was finally set properly!!!");
} }
System.setProperty("javax.net.ssl.trustStore", "/mnt/secrets/keystore.jks"); // System.setProperty("javax.net.ssl.trustStore", "/mnt/secrets/keystore.jks");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); // System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
trustStore = System.getProperty("javax.net.ssl.trustStore"); trustStore = System.getProperty("javax.net.ssl.trustStore");
if (trustStore == null) { if (trustStore == null) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment