[MXS-652] ssl is configured in a wrong way, but Maxscale can be started and works Created: 2016-03-31 Updated: 2016-05-27 Resolved: 2016-05-27 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 1.4.1 |
| Fix Version/s: | 2.0.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Timofey Turenko | Assignee: | martin brampton (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Put ssl configuration to router section instead of listener, for example (use ssl=required):
Expected result:
Actual result:
|
| Comments |
| Comment by martin brampton (Inactive) [ 2016-03-31 ] |
|
Question is, what should happen? |
| Comment by markus makela [ 2016-03-31 ] |
|
The correctness of the parameters is checked in config.c:check_config_objects and it could be used to detect unknown parameters. Currently it just reports the unknown parameters but does nothing about it. The function could return a value which would indicate whether unknown parameters are defined. |
| Comment by martin brampton (Inactive) [ 2016-04-19 ] |
|
During discussions in Berlin, it was agreed that MaxScale would operate (like Apache) on the basis that an incorrect configuration entry, including a parameter that should not be present in a section, will prevent MaxScale from starting. |
| Comment by Timofey Turenko [ 2016-05-27 ] |
|
tested with current develop - fixed. Test 'mxs652_bad_ssl' added. |