[ https://issues.apache.org/jira/browse/TOMEE-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478917#comment-17478917 ]
Cesar Hernandez commented on TOMEE-3814: ---------------------------------------- [~jlmonteiro] We have configuration documentation in server.xml (as comments) that if one uncommented and replace values the configuration will not work as expected. > Commented SSL Connector fix for tomee server.xml > ------------------------------------------------- > > Key: TOMEE-3814 > URL: https://issues.apache.org/jira/browse/TOMEE-3814 > Project: TomEE > Issue Type: Documentation > Affects Versions: 8.0.8 > Reporter: Cesar Hernandez > Assignee: Cesar Hernandez > Priority: Major > > Current server.xml contains the following commented out SSL connector: > > {code:java} > <!-- > <Connector port="8443" > protocol="org.apache.coyote.http11.Http11NioProtocol" > maxThreads="150" SSLEnabled="true"> > <SSLHostConfig> > <Certificate certificateKeystoreFile="conf/localhost-rsa.jks" > type="RSA" xpoweredBy="false" server="Apache TomEE" > /> > </SSLHostConfig> > </Connector> > --> > {code} > > > The configuration for > {code:java} > xpoweredBy="false" server="Apache TomEE{code} > is misleading since for this to work needs to be set in the "Connector" tag: > > > {code:java} > <!-- <Connector port="8443" > protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" > SSLEnabled="true" xpoweredBy="false" server="Apache TomEE"> <SSLHostConfig> > <Certificate certificateKeystoreFile="conf/localhost-rsa.jks" type="RSA"/> > </SSLHostConfig> </Connector> > --> > {code} > > -- This message was sent by Atlassian Jira (v8.20.1#820001)