Modificación del fichero server.xml para Apache Tomcat 9

Noticias

12 octubre 2017

La modificación del fichero server.xml para trabajar con Apache Tomcat 9 bajo el protocolo SSL /TLS es la que se indica a continuación (extraída directamente de la Documentación de Apache):

«The final step is to configure the Connector in the $CATALINA_BASE/conf/server.xml file, where $CATALINA_BASE represents the base directory for the Tomcat instance. An example <Connector> element for an SSL connector is included in the default server.xml file installed with Tomcat. To configure an SSL connector that uses JSSE, you will need to remove the comments and edit it so it looks something like this:»


 <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
 maxThreads="150" SSLEnabled="true">
 <SSLHostConfig>
 <Certificate certificateKeystoreFile="C:\atw2017\.keystorejpmoreno"
 type="RSA" certificateKeystorePass="changeit" />
 </SSLHostConfig>
 </Connector>

Tan solo hay que sustituir la ruta donde está situado el fichero con el almacén de claves en el parámetro keystoreFile.