Hi,
I am using Debezium version 1.5, and connecting to an Aurora MySQL instance.
There were two issues:
1. I tried enabling SSL using MySqlConnectorConfig.SSL_TRUSTSTORE and MySqlConnectorConfig.SSL_TRUSTSTORE_PASSWORD. Snapshot worked, but I was not able to stream and got an error :
" [java] Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
The way I got around this issue was by setting the system variables "javax.net.ssl.trustStore" and "javax.net.ssl.trustStorePassword" instead.
2. The second issue extends from an observation in the above issue. It seems that the Snapshot reader does not use SSL. The way I verified this was as follows:
I set the correct credentials: Snapshot and streaming succeeded
I set the incorrect credentials: Streaming failed but snapshot was successful.
Thus I drew the conclusion that the snapshot reader was not using SSL. Is there a way to enable this.
Thanks,
Saurabh Godbole