|
@@ -165,10 +165,10 @@ public final class ReloadingX509TrustManager
|
|
throws IOException, GeneralSecurityException {
|
|
throws IOException, GeneralSecurityException {
|
|
X509TrustManager trustManager = null;
|
|
X509TrustManager trustManager = null;
|
|
KeyStore ks = KeyStore.getInstance(type);
|
|
KeyStore ks = KeyStore.getInstance(type);
|
|
- lastLoaded = file.lastModified();
|
|
|
|
FileInputStream in = new FileInputStream(file);
|
|
FileInputStream in = new FileInputStream(file);
|
|
try {
|
|
try {
|
|
ks.load(in, password.toCharArray());
|
|
ks.load(in, password.toCharArray());
|
|
|
|
+ lastLoaded = file.lastModified();
|
|
LOG.debug("Loaded truststore '" + file + "'");
|
|
LOG.debug("Loaded truststore '" + file + "'");
|
|
} finally {
|
|
} finally {
|
|
in.close();
|
|
in.close();
|