Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1023

Connector/J doesn't set SSL cap bit in Handshake Response Packet

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.7.6, 3.0.9
    • 2.7.8, 3.0.10, 3.1.1
    • SSL
    • None

    Description

      https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_connection_phase.html#sect_protocol_connection_phase_initial_handshake_ssl_handshake

      When using MariaDB Connector/J to establish TLS connection to servers, we find that MariaDB Connector/J is only set SSL cap bit in SSL Connection Request Packet, not in Handshake Response Packet. While MySQL Connector/J set it in both.

      For example, when we are using MariaDB Connector/J 2.7.6, setting arguments `useSSL` and `serverSslCert`, the cap bytes are 1747586 in SSL Request Packet, 1745538 in Handshake Response Packet, which only differs in the SSL bit. And MySQL Connector/J are both 1747471 in two packets.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            zhangyangyu Xiang Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.