On 19/08/17 22:44, Rainer Jung wrote: > Assume tcantive and OpenSSL is available. > > When using the AprLifecycleListener with useOpenssl="true" (default) and > useAprConnector="false" (also default) with a Java NIO or NIO2 connector > and *not* setting the sslImplementationName one gets warnings for each > config item which is OpenSSL only. > > Since with these (default) settings the connector uses OpenSSL the > warnings doesn't make sense. > > The reason is, that the config is checked very early, especially before > the AprLifecycleListener kicks in and sets the sslImplementationName to > OpenSSL.
I can't reproduce this. Can you provide the configuration you are using? > I do not have a good idea how to fix this. It is not related to my > commits of today. > > Example message: > > WARNING [main] org.apache.tomcat.util.net.SSLHostConfig.setConfigType > The property [disableCompression] was set on the SSLHostConfig named > [_default_] and is for connectors of type [OPENSSL] but the > SSLHostConfig is being used with a connector of type [JSSE] That message might need more careful wording since it isn't the connector type, it is the configuration style. You can use either configuration style (JSSE or OpenSSL) with either implementation (JSSE or OpenSSL). However, you can't mix the two configuration styles within a single SSLHostConfig. Kind regards, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org