diff options
author | Parménides GV <parmegv@sdf.org> | 2013-03-18 11:13:54 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-03-18 11:13:54 +0100 |
commit | f4f454d53b881563d82f392545fb17ef9283c5e3 (patch) | |
tree | 0d6424797a6953637a0025466db6afca9f2996e4 /src/se/leap/leapclient/ConfigHelper.java | |
parent | 203c8caca5a305b90fd0e69c965e503afe979354 (diff) |
If ca.crt from new provider is not trusted, we can download it without
problems assuming user wanted to trust it since s/he entered by
him/herself the URL.
Next step: refactor a bit, to make code more beautiful.
Diffstat (limited to 'src/se/leap/leapclient/ConfigHelper.java')
-rw-r--r-- | src/se/leap/leapclient/ConfigHelper.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/ConfigHelper.java b/src/se/leap/leapclient/ConfigHelper.java index b6526691..8a0e2b45 100644 --- a/src/se/leap/leapclient/ConfigHelper.java +++ b/src/se/leap/leapclient/ConfigHelper.java @@ -142,7 +142,8 @@ public class ConfigHelper { try { // Initialize the keystore with the provided trusted certificates // Also provide the password of the keystore - keystore_trusted.load(leap_keystore, "uer92jf".toCharArray()); + //keystore_trusted.load(leap_keystore, "uer92jf".toCharArray()); + keystore_trusted.load(null, null); } finally { leap_keystore.close(); } |