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

Not reading the keystore/truststore when enabling MySQL SSL authentication

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: