I would like to be able to use WebTestClient to test applications that use SslInfo without the need to use an HTTP connection (e.g. use WebTestClient.bindToApplicationContext(ApplicationContext)).

Right now the only way I can do this is to provide a custom WebTestClientConfigurer that mutates the ServerHttpRequest. I thought about providing this in Spring Security, but since there are no Spring Security dependencies, I think that it makes more sense in Spring Framework.