Bug #115179 | Replication Setup Documentation missing SOURCE_SSL=1. | ||
---|---|---|---|
Submitted: | 30 May 21:03 | Modified: | 31 Jul 15:14 |
Reporter: | Jean-François Gagné | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S2 (Serious) |
Version: | 8.4.0, 8.0.37 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[30 May 21:03]
Jean-François Gagné
[31 May 6:04]
MySQL Verification Team
Hello Jean-François, Thank you for the report and feedback. regards, Umesh
[17 Jun 23:16]
Jean-François Gagné
(updating version: was "8.40, 8.0.37", typo fixed to "8.4.0, 8.0.37").
[16 Jul 12:21]
Jon Stephens
This is as intended. Reasoning: 1. A secure connection is not required by default, only if SOURCE_SSL=1. 2. Setting SOURCE_SSL=1 means an encrypted connection is *required*; replication cannot fall back to an unencrypted connection in such a case. 3. The page already provides a link to info regarding options to employ for encrypted connections, and info about SOURCE_SSL and friends is included on that page. 4. Including SOURCE_SSL=1 in a list of options intended for a default replication scenario will give rise to bug reports asking why replication fails when the option is "specified just as shown in the Manual". If and when we begin to require encrypted connections for replication, we'll be happy to revisit this issue then, but not at this time with things as they are now. Thanks! jon.
[31 Jul 14:57]
Jean-François Gagné
Thanks for your reply Jon, but please allow me to argue a little with you. From my point of view, things do not "work as intended". In my argument, I focus on the error message I got, quoted below from the original report. > Authentication plugin 'caching_sha2_password' reported error: Authentication requires secure connection. I do not understand all the nuances of "Authentication plugin 'caching_sha2_password'", but if it "requires secure connection", and if it is the default configuration (from what I understand, this is something new in 8.4), then replication needs a secure connection by default. And this reasoning contradicts what you write, quoting you below. > A secure connection is not required by default, only if SOURCE_SSL=1. Maybe the solution is not modify the documentation to add "SOURCE_SSL=1" (or "GET_SOURCE_PUBLIC_KEY=1"), but I would expect the instructions in the manual to "just work" (adding one of these is the way I found to "make things work"), without having to read the fine-print, and without having to understand all the intricacies of caching_sha2_password and secure connections. So could this bug report be reconsidered, maybe without focusing on the title I might have wrongly chosen (Replication Setup Documentation missing SOURCE_SSL=1), but on the fact that using the current documentation, things do not work as expected. Thanks, J-F
[31 Jul 15:14]
Jean-François Gagné
> from what I understand, this is something new in 8.4 I was wrong here. Re-reading my report, this also affects recent 8.0 (I just reproduced with 8.0.39).