I have a docker container image which includes Kafka Debezium (2.1) as Source Connector and I have also injected JDBC for Postgres (42.5.1) as Sink Connector in order to transfer records from some tables to some other tables in different database from a single pod/container.
When Source PostgreSQL and Destination PostgreSQL is the same version (v11) everything works as excepted transferring data without any problem.
When Source PostgreSQL is v11 and the Destination PostgreSQL is v14, then an error appear into Sink Connector, like the following:
SSL error: Certificates do not conform to algorithm constraints
Algorithm constraints check failed on signature algorithm: SHA1withRSA
PostgreSQLs are on Azure, v11 is single server and v14 is flexible server. After some investigation, I found (maybe is related) that v11 has minimum TLS of v1.0, while v14 has minimum TLS of v1.2.
So, I tried a couple of things:
First, to ensure that TSL is enabled and set to v1.2 on PostgreSQL v14 and also add a few SSL parameters into Sink Connector like the following (same error):
&ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory&sslmode=require&sslProtocol=TLSv1.2
Second, to ensure that TSL is disabled on PostgreSQL v14 and setting the Sink Connector not to use SSL (same error):
&ssl=false
Not sure why I am getting this error (even with SSL disables on database and on the connector). Is there anything which I can do?