Secretless Broker: 'SSL connection error: SSL is required but the server doesn't support it' when starting secretless broker
105
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 15:56 PM
Symptom
When starting secretless broker, the broker fails to start. The following appears in the logs:
2019/05/29 14:06:49 Secretless starting up...
2019/05/29 14:06:49 Loading internal plugins...
2019/05/29 14:06:49 - ConfigurationManagers: [configfile k8s/crd]
2019/05/29 14:06:49 - ConnectionManagers: []
2019/05/29 14:06:49 - Providers: [literal vault aws conjur env file keychain kubernetes]
2019/05/29 14:06:49 - Handlers: [sshagent http/aws http/basic_auth http/conjur mysql pg ssh]
2019/05/29 14:06:49 - Listeners: [ssh-agent http mysql pg ssh]
2019/05/29 14:06:49 Completed loading internal plugins.
2019/05/29 14:06:49 Loading external library plugins...
2019/05/29 14:06:49 open /usr/local/lib/secretless: no such file or directory
2019/05/29 14:06:49 Registering shutdown signal listeners...
2019/05/29 14:06:49 Initializing configuration manager 'configfile'...
2019/05/29 14:06:49 Trying to load ./secretless.yml...
2019/05/29 14:06:49 Configuration file ./secretless.yml loaded
2019/05/29 14:06:49 Configuration manager 'configfile' initialized (configSpec: '?watch=true').
2019/05/29 14:06:49 Initializing connection managers...
2019/05/29 14:06:49 Configuration manager 'configfile' provided new configuration...
2019/05/29 14:06:49 Initialization of plugins done.
2019/05/29 14:06:49 Initializing the proxy...
2019/05/29 14:06:49 Initializing health check on :5335...
2019/05/29 14:06:49 Initialization of health check done. You can access the endpoint at `/live` and `/ready`.
2019/05/29 14:06:49 Waiting for valid configuration to be provided...
2019/05/29 14:06:49 Reloading...
2019/05/29 14:06:49 ----------------------------
2019/05/29 14:06:49 Attaching filesystem notifier onto ./secretless.yml
2019/05/29 14:06:49 Starting all listeners and handlers...
2019/05/29 14:06:49 Registering reload signal listeners...
2019/05/29 14:06:49 mysql listener 'mysql_listener' listening at: [::]:3307
2019/05/29 14:07:07 Instantiating provider 'literal'
The client output log may also contain one of the following:
ERROR: MySQL Error 2026 (HY000): SSL connection error: SSL is required but the server doesn't support it
Environment
Secretless broker 1.0
Cause
Incompatible connection client settings
Resolution
- MySQL connections to Secretless from the client must have ssl-mode set to disabled (e.g.
mysql --ssl-mode=DISABLED ...). Ensure that ssl-mode is set to connect in this manner.