Secretless Broker: 'ERROR: MySQL Error 2000 (HY000): x509: certificate signed by unknown authority' when starting secretless broker

Secretless Broker: 'ERROR: MySQL Error 2000 (HY000): x509: certificate signed by unknown authority' when starting secretless broker

95
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 15:59 PM


Symptom


When starting secretless broker, the broker fails to start. The following appears in the logs: 
 
2019/05/29 14:11:04 Secretless starting up...
2019/05/29 14:11:04 Loading internal plugins...
2019/05/29 14:11:04 - ConfigurationManagers: [configfile k8s/crd]
2019/05/29 14:11:04 - ConnectionManagers: []
2019/05/29 14:11:04 - Providers: [file keychain kubernetes literal vault aws conjur env]
2019/05/29 14:11:04 - Handlers: [pg ssh sshagent http/aws http/basic_auth http/conjur mysql]
2019/05/29 14:11:04 - Listeners: [http mysql pg ssh ssh-agent]
2019/05/29 14:11:04 Completed loading internal plugins.
2019/05/29 14:11:04 Loading external library plugins...
2019/05/29 14:11:04 open /usr/local/lib/secretless: no such file or directory
2019/05/29 14:11:04 Registering shutdown signal listeners...
2019/05/29 14:11:04 Initializing configuration manager 'configfile'...
2019/05/29 14:11:04 Trying to load ./secretless.yml...
2019/05/29 14:11:04 Configuration file ./secretless.yml loaded
2019/05/29 14:11:04 Configuration manager 'configfile' initialized (configSpec: '?watch=true').
2019/05/29 14:11:04 Configuration manager 'configfile' provided new configuration...
2019/05/29 14:11:04 Initializing connection managers...
2019/05/29 14:11:04 Initialization of plugins done.
2019/05/29 14:11:04 Initializing the proxy...
2019/05/29 14:11:04 Reloading...
2019/05/29 14:11:04 ----------------------------
2019/05/29 14:11:04 Initializing health check on :5335...
2019/05/29 14:11:04 Attaching filesystem notifier onto ./secretless.yml
2019/05/29 14:11:04 Initialization of health check done. You can access the endpoint at `/live` and `/ready`.
2019/05/29 14:11:04 Starting all listeners and handlers...
2019/05/29 14:11:04 Registering reload signal listeners...
2019/05/29 14:11:04 mysql listener 'mysql_listener' listening at: [::]:3307
2019/05/29 14:11:04 Shutting down 'mysql' listener...
2019/05/29 14:11:04 Shutting down listener's handlers...
2019/05/29 14:11:04 Starting all listeners and handlers...
2019/05/29 14:11:04 mysql listener 'mysql_listener' listening at: [::]:3307
2019/05/29 14:11:07 Instantiating provider 'literal'

The client output log may also contain one of the following:
 
ERROR: MySQL Error 2000 (HY000): x509: certificate signed by unknown authority


Environment


Incompatible backend mySQL settings and/or unsigned certificate

Cause


  • Ensure that the backend details for MySQL in Secretless configuration match the connection details for your database.
  • Attempt to connect directly to your database using the credentials to ensure that the backend is working properly.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000019PUCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail