Hello everyone.
I've been banging my head against a brick wall trying to figure out a way to configure SNI on the http4 component.
According to https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide.html#SNIExtension the way to do it is as follows (emphasis, mine)
SSLEngine sslEngine = sslContext.createSSLEngine("172.16.10.6", 443); SNIHostName serverName = new SNIHostName("www.example.com"); List<SNIServerName> serverNames = new ArrayList<>(1); serverNames.add(serverName); sslEngine.setSSLParameters(params);
For the life of my however, I cannot figure out a way to do this, either via the DSL (preferable) or programmatically. With respects to the programmatic configuration, should I be using HttpClientConfigurer ?
TIA, Ioannis