TIBCOSoftware / be-contribution

This repository is to add various contributions across different modules within TIBCO BusinessEvents. It will include contributions by TIBCO BusinessEvents team as well external users/customers/fields teams.
BSD 3-Clause "New" or "Revised" License
0 stars 9 forks source link

Cassandra Channel || No Exception is thrown when ssl.provider is "OpenSSL" (Certificates are created using key-tool) #98

Open praagraw-tibco opened 1 year ago

praagraw-tibco commented 1 year ago

Version Information

Software Version(s)
BusinessEvents 6.3.0
OS Type?
OS Version?

What is the expected behavior?

Exception should be thrown since ssl.provider sets to OpenSSL but certificates are created using JDK-keytool.

Steps to reproduce

Set the configuration in Cassandra.yaml for one-way ssl. Start Cassandra and Pulsar Create a required keyspace and table Set the SSL configuration for CDC Cassandra Nar File as below: ssl.provider="OpenSSL" ssl.truststore.path= ssl.truststore.password= ssl.hostnameValidation="false"

Note: I have created certificates using keytool. For 2way SSL, if ssl.provider=OpenSSL it throws an exception if the certificates are created using keytool.

rakulkar-tibco commented 1 year ago

This exception is beaviour from pulsar/cdc-apache-cassandra lib side.

praagraw-tibco commented 1 year ago

Logged issue on cassandra-datastax side: https://github.com/datastax/cdc-apache-cassandra/issues/154