diff options
author | Parménides GV <parmegv@sdf.org> | 2013-03-19 17:39:53 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-03-19 17:39:53 +0100 |
commit | b48c3f63bfbdb0c01950cbd47c41a560afaf4fe2 (patch) | |
tree | ed62293c27ab871fe029f1b58ea5f64726e7c699 | |
parent | 0e67b3335dac82e41400a2161df43419fe2a736b (diff) |
The new certificate added by ConfigHelper.addTrustedCertificate did not
used the provider alias, but a predefined (I forgot removing quotes from
argument) string.
-rw-r--r-- | src/se/leap/leapclient/ConfigHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/ConfigHelper.java b/src/se/leap/leapclient/ConfigHelper.java index 5d89e491..35aec885 100644 --- a/src/se/leap/leapclient/ConfigHelper.java +++ b/src/se/leap/leapclient/ConfigHelper.java @@ -104,7 +104,7 @@ public class ConfigHelper { cf = CertificateFactory.getInstance("X.509"); X509Certificate cert = (X509Certificate)cf.generateCertificate(inputStream); - keystore_trusted.setCertificateEntry("provider", cert); + keystore_trusted.setCertificateEntry(provider, cert); } catch (CertificateException e) { // TODO Auto-generated catch block e.printStackTrace(); |