You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/11/16 12:23:11 UTC

[Bug 62803] Tomcat Host Manager incorrectly saves connector with SSL configuration

https://bz.apache.org/bugzilla/show_bug.cgi?id=62803

Marek Czernek <mc...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Marek Czernek <mc...@redhat.com> ---
This has cropped up again, tomcat 9.0.13. Same reproducer, but:

TLS connector config:

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
secure="true" scheme="https" SSLEnabled="true" keystoreFile="/tmp/server.jks"
keystorePass="changeit" clientAuth="true"/>

Outputs:

   <Connector port="8443" scheme="https" secure="true" SSLEnabled="true"
        SSLVerifyClient="REQUIRED" clientAuth="REQUIRED"
       
sslImplementationName="org.apache.tomcat.util.net.openssl.OpenSSLImplementation">
      <SSLHostConfig>
        <Certificate
          certificateKeystoreFile="/tmp/ssl/self_signed/server.jks"
type="UNDEFINED"/>
      </SSLHostConfig>
    </Connector>

Tomcat does not start. Notice there's a missing closing sign in the Connector
tag, i.e.:

<Connector port="8443" scheme="https" secure="true" SSLEnabled="true"

should be:

<Connector port="8443" scheme="https" secure="true" SSLEnabled="true">

(closing character added at the end). When I fix that manually, Tomcat starts.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org