Connect with legacy drivers

If the driver you are using doesn’t support the DataStax Astra DB secure connect bundle and you are unable to upgrade, you can still connect to Astra DB with additional steps. To connect, collect connection information from the secure connect bundle and set up the required SSL context for your driver to speak with Astra DB.

Collect Astra DB connection information

  1. Download and unzip the secure connect bundle for your Astra DB database.

  2. From the bundle, collect the SSL related files:

    • ca.cert

    • cert

    • key

  1. From the cqlshrc file, collect the port.

Use only the port from cqlshrc. Other ports found in the secure connect bundle will not allow you to connect with this method.

  1. From the config.json file, grab the hostname.