code: @Bean
      public ClientFactory clientFactory() {
          return new ClientFactoryBuilder().sslContextCustomizer(
                  b -> b.trustManager(InsecureTrustManagerFactory.INSTANCE)).build();
      }
docs: Returns a custom {@link ClientFactory} with TLS certificate validation disabled,
  which means any certificate received from the server will be accepted without any verification.
  It is used for an example which makes the client send an HTTPS request to the server running
  on localhost with a self-signed certificate. Do NOT use the {@link InsecureTrustManagerFactory}
  in production.