A connection to SQL server with client-side SSL authentication (like Google Cloud SQL) cannot be established.
There are multiple problems
- database.ssl.truststore and database.ssl.truststore.password does not work. The need to be replaced either with database.clientCertificateKeyStoreUrl/database.clientCertificateKeyStorePassword or with direct setting of system properties
- when the problem above is bypassed there is an issue with binary log client creating the connection. I belive we need to introduce an extesnion to SSL socket factory