I'm using the classes NettyHttpServerEngineFactory and NettyHttpServerEngine to configure a server with TLS using only Java code (without Spring or other XML configurations). Therefore I constructed the necessary TLSServerParameters and created an engine factory:
Where sf is an object of JaxWsServerFactoryBean and I previously initialized all the necessary KeyManagers etc.
Afterwards I want to create an engine using the factory:
Afterwards I get the following Exception:
When looking at the (really similar) class JettyHTTPServerEngineFactory there is a method retrieveListenerFactory called in methods setTlsServerParameters and finalizeConfig which changes the protocol of the engine to https when tls parameters are provided, in NettyHttpServerEngineFactory it doesn't exist so far and the finalizeConfig method is empty.
Could you provide something similar to used code in JettyHTTPServerEngineFactory aswell in NettyHttpServerEngineFactory as it would solve my problems perfectly.
Let me know if I need to provide any other informations/code.