Service broker error: There was a problem when connecting to a MySQL server. Check database availability, persistent disk usage, and network availability, then try again.
failed: Get "https://IP:PORT/status": remote error: tls: bad certificateThe IP here is the new created mysql service instance ip.
openssl s_client -showcerts -connect IP:PORT </dev/nullThe result shows the cert is not expired, but it contains below error:
Verify return code: 21 (unable to verify the first certificate)
Explanation:
This issue is caused by the tls ca is not added into the trusted certificates.
Fix:
credhub get \ --name=/services/tls_ca \ -k ca
Please also refer: Add the CA Certificate