Changeset 7425


Ignore:
Timestamp:
Nov 23, 2017, 10:42:53 AM (4 years ago)
Author:
Nicklas Nordborg
Message:

References #2082. Re-download the https certificate if the cached is older than 1 day.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.11-stable/src/test/TestFileServer.java

    r7352 r7425  
    8686      {
    8787        java.io.File certFile = new java.io.File(serverCertificateFile);
    88         if (!certFile.exists())
     88        if (!certFile.exists() || (System.currentTimeMillis() - certFile.lastModified()) > 86400000) // replace if older than 1 day
    8989        {
    9090          downloadCertificate(name, certFile);
Note: See TracChangeset for help on using the changeset viewer.