[MXS-3212] Server SSL configuration cannot be defined at runtime Created: 2020-09-28 Updated: 2020-10-08 Resolved: 2020-10-08 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.5 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Filip Petrov (Inactive) | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
When a server is created at runtime, the SSL configuration could be defined with the alter server command in previous versions. In 2.5 this will modify the configuration but it will not create the required OpenSSL objects. Original description: After applying property require_secure_transport="ON" inside mariadb.cnf server not able to connect to Maxscale. Used Maxscale image: mariadb/maxscale:2.5.3-1, Mariadb Server image: mariadb/enterprise-server:10.5.5-3-1 Tested on Topologies:
When property is removed from configuration, it's working fine. |
| Comments |
| Comment by markus makela [ 2020-09-30 ] |
|
Please upload the MaxScale configuration you are using. |
| Comment by Petko Vasilev (Inactive) [ 2020-09-30 ] |
|
I added the maxscale configs |
| Comment by markus makela [ 2020-09-30 ] |
|
It seems the configuration doesn't enable SSL which explains why it won't work. Make sure you define the certificates and required configuration parameters when the servers are being created. |
| Comment by markus makela [ 2020-09-30 ] |
|
I'll close this as Not a Bug for now. If you find some problems that prevent the servers from being created with SSL, please let us know and we'll reopen the issue. |
| Comment by Filip Petrov (Inactive) [ 2020-09-30 ] |
|
markus makelaCan you send what are the required parameters to be added in MaxScale cnf. |
| Comment by markus makela [ 2020-10-01 ] |
|
The ssl=true parameter must be defined for servers to enable SSL. If you don't use the system certificates, also define ssl_ca_cert. You can find all the TLS configuration parameters here: https://mariadb.com/kb/en/mariadb-maxscale-25-mariadb-maxscale-configuration-guide/#tlsssl-encryption |
| Comment by Filip Petrov (Inactive) [ 2020-10-01 ] |
|
markus makela Those properties are defined in the maxscale.cnf and still not working. |