private static ScheduledExecutorService createDefaultScheduler() {
        return Executors.newSingleThreadScheduledExecutor(runnable -> {
            Thread thread = new Thread(runnable, "auto-reloading-x509-key-manager");
            thread.setDaemon(true);
            return thread;
        });
    }
A {@link X509ExtendedKeyManager} that reloads the certificate and private key from file regularly.

@author bjorncs
security-utils/src/main/java/com/yahoo/security/AutoReloadingX509KeyManager.java