Dark Mode

Prerequisites

  • Ensure the Java driver is installed.For more, see DataStax Java Driver.
  • collect_legacy_driver_info
  • Also collect the trustStore.jks and identity.jks from the secure connect bundle.
  • From the config.json in the secure connect bundle collect the keyStorePassword and trustStorePassword .
  • * Client ID_ and _Client Secret correspond to username and password. They are created when you generate your application token.
  • Copy the certificate files from the Astra DB secure connect bundle to ../secure-connect/ .This folder should contain the trustStore.jks and identity.jks files.
  • Replace the <hostname> with your Astra DB database hostname.
  • Replace the <port> with your Astra DB database port.
  • Replace <username> and <password> with the Astra DB database Client ID_ and _Client Secret.
  • Replace <keyStore pass> and <trustStore pass> with the values from the config.json .

Example

  • 1

In the example above, the following variables are used:

  • hostname is 7bb9cd7a-e49d-49a6-aa3d-be4878f974ef-us-east1.db.astra.datastax.com
  • port is 31575
  • username is john.smith
  • password is `jsP@ssw0rd`
  • trustStore pass is Dwp6KMa2lRd01
  • keystore pass is 7cU6YS5jHbh8a