private Connector createSSLConnector( final Server httpBindServer ) {
        final int securePort = HTTP_BIND_SECURE_PORT.getValue();
        try {
            final IdentityStore identityStore = XMPPServer.getInstance().getCertificateStoreManager().getIdentityStore( ConnectionType.BOSH_C2S );

            if (securePort > 0 && identityStore.getStore().aliases().hasMoreElements() ) {
                if ( !identityStore.containsDomainCertificate( ) ) {
                    Log.warn("HTTP binding: Using certificates but they are not valid for the hosted domain");
                }

                final ConnectionManager connectionManager = XMPPServer.getInstance().getConnectionManager();
                final ConnectionConfiguration configuration = connectionManager.getListener( ConnectionType.BOSH_C2S, true ).generateConnectionConfiguration();
                final SslContextFactory.Server sslContextFactory = new EncryptionArtifactFactory(configuration).getSslContextFactory();

                final HttpConfiguration httpsConfig = new HttpConfiguration();
                httpsConfig.setSecureScheme("https");
                httpsConfig.setSecurePort(securePort);
                SecureRequestCustomizer secureRequestCustomizer = new SecureRequestCustomizer();
                secureRequestCustomizer.setSniHostCheck(sslContextFactory.isSniRequired());
                httpsConfig.addCustomizer( secureRequestCustomizer );
                configureProxiedConnector(httpsConfig);
                httpsConfig.setSendServerVersion( false );

                final ServerConnector sslConnector = new ServerConnector(httpBindServer, new SslConnectionFactory(sslContextFactory, "http/1.1"), new HttpConnectionFactory(httpsConfig));
                sslConnector.setHost(getBindInterface());
                sslConnector.setPort(securePort);
                return sslConnector;
            }
        }
        catch (Exception e) {
            Log.error("Error creating SSL connector for Http bind", e);
        }

        return null;
    }
A task that, periodically, updates the 'last modified' date of all files in the Jetty 'tmp' directories. This
prevents operating systems from removing files that are deemed unused.

@see <a href="https://igniterealtime.atlassian.net/browse/OF-1534">OF-1534</a>
xmppserver/src/main/java/org/jivesoftware/openfire/http/HttpBindManager.java