Changeset 3bc9053 for router


Ignore:
Timestamp:
Mar 4, 2018 12:14:05 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
c6e401a
Parents:
5a63926
Message:

KeyStore?: Log expiration of self-signed certs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/client/SSLClientListenerRunner.java

    r5a63926 r3bc9053  
    143143            fis = new FileInputStream(ks);
    144144            keyStore.load(fis, ksPass.toCharArray());
     145            KeyStoreUtil.logCertExpiration(keyStore, ks.getAbsolutePath(), 180*24*60*60*1000L);
    145146            KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
    146147            kmf.init(keyStore, keyPass.toCharArray());
Note: See TracChangeset for help on using the changeset viewer.