|
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.
|