Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
6.4.10
-
None
-
MXS-SPRINT-196, MXS-SPRINT-197
Description
The command to create a server with TLS certificates is as follows:
maxctrl create server my-server 172.31.22.19 3306 ssl=true ssl_key=/tmp/client-key.pem ssl_cert=/tmp/client-cert.pem ssl_ca=/tmp/ca-cert.pem
|
The port is an optional parameter but is mandatory if any extra parameters are needed.
A better alternative that would be much less confusing would be to pass all values as key=value pairs:
maxctrl create server my-server address=172.31.22.19 port=3306 ssl=true ssl_key=/tmp/client-key.pem ssl_cert=/tmp/client-cert.pem ssl_ca=/tmp/ca-cert.pem
|