[MXS-2980] maxctrl not using SSL/TLS in interactive mode Created: 2020-05-05 Updated: 2020-08-25 Resolved: 2020-05-25 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxctrl |
| Affects Version/s: | 2.4.9 |
| Fix Version/s: | 2.3.20, 2.4.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Description |
|
When passing a command to maxctrl directly on the command line, communicating with a maxscale instance with admin_ssl_* enabled works fine. When using interactive mode, any ssl/tls options seem to be ignored though, and maxctrl sends commands in the clear, as can be verified by tracking maxscale system calls with strace, and clearly seeing cleartext "GET /" being received right after a new connection comes in, instead of starting with the TLS handshake ... So this works fine:
While this doesn't:
|
| Comments |
| Comment by markus makela [ 2020-05-06 ] |
|
Seems that only some of the options are forwarded correctly to the interactive mode. These should be programmatically detected and injected into the context given to the interactive mode. |