Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-4787

Not reading the keystore/truststore when enabling MySQL SSL authentication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.9.0.CR1
    • None
    • mysql-connector
    • None
    • False
    • False

      config = DATABASE.defaultConfig()
      .with(MySqlConnectorConfig.SNAPSHOT_MODE, MySqlConnectorConfig.SnapshotMode.INITIAL)
      .with(MySqlConnectorConfig.TABLE_INCLUDE_LIST, DATABASE.qualifiedTableName(TABLE_NAME))
      .with(MySqlConnectorConfig.DECIMAL_HANDLING_MODE, RelationalDatabaseConnectorConfig.DecimalHandlingMode.STRING)
      //.with("column.exclude.list", ".*
      .(E|F)$")
      .with(MySqlConnectorConfig.SSL_MODE, "verify_ca")
      .with(MySqlConnectorConfig.SSL_KEYSTORE, "/Users/sh99019ml/data/truststore")
      .with(MySqlConnectorConfig.SSL_KEYSTORE_PASSWORD, "123456")
      .with(MySqlConnectorConfig.SSL_TRUSTSTORE, "/Users/sh99019ml/data/truststore")
      .with(MySqlConnectorConfig.SSL_TRUSTSTORE_PASSWORD, "123456")
      .build();

      add ssl properties, but test it not reading the keystore/truststore

              Unassigned Unassigned
              ywyuewei Harvey Yue (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: