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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to