private void addNewSslHandlerToAllChannels() {
        this.allChannels.forEach(channel ->
        {
            if (channel.pipeline().toMap().containsKey(SSL_HANDLER_NAME)) {
                channel.pipeline().remove(SSL_HANDLER_NAME);
            }
            try {
                channel.attr(CONNECTION).get().startTLS(false, true);
            } catch (Exception e) {
                Log.error("An exception occurred while reloading the TLS configuration.", e);
            }
        });
    }
Add or replace TLS filter in all channels of this acceptor
xmppserver/src/main/java/org/jivesoftware/openfire/spi/NettyConnectionAcceptor.java