@Bean
        @ConditionalOnMissingBean(name = "springBootAdminWebClientCustomizer")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public InstanceWebClientCustomizer springBootAdminWebClientCustomizer(
            @Qualifier(HttpClient.BEAN_NAME_HTTPCLIENT) final HttpClient httpClient) throws Exception {
            val sslContext = SslContextBuilder
                .forClient()
                .trustManager(httpClient.httpClientFactory().getTrustManagers()[0])
                .build();
            return builder -> {
                val nettyHttpClient = reactor.netty.http.client.HttpClient.create()
                    .compress(true)
                    .secure(t -> t.sslContext(sslContext));
                val reactorClientHttpConnector = new ReactorClientHttpConnector(nettyHttpClient);
                builder.webClient(WebClient.builder().clientConnector(reactorClientHttpConnector));
            };
        }
This is {@link CasSpringBootAdminAutoConfiguration}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-bootadmin/src/main/java/org/apereo/cas/config/CasSpringBootAdminAutoConfiguration.java