tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36055] New: - HTTPS connection does not work without "sslProtocol" attribute
Date Fri, 05 Aug 2005 20:45:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36055>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36055

           Summary: HTTPS connection does not work without "sslProtocol"
                    attribute
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:HTTP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: tony.requist@airenainc.com


With Tomcat 5.0 this worked:

    <Connector port="443" scheme="https" secure="true"
               keystoreFile="MY_KEYSTORE_FILE"
               keystorePass="MY_KEYSTORE_PASSWORD" />

In 5.5.9, it does not work (requests hang) unless I add:

    sslProtocol="TLS"

Debugging the code, it looks like the problem is that the "secure" flag does not
get set in the Http11Protcol object unless "sslProtocol" is present because
setting the "secure" flag calls the setter in Connector, not in Http11Protcol.

I saw that the setter for "sslProtocol" in Http11Protocol calls setSecure(true)
as do a few other setters.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message