Connect with legacy drivers

If the driver you are using doesn’t support the Astra secure connect bundle and you are unable to upgrade, you can still connect to DataStax Astra 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.

Collect Astra connection information

  1. Download and unzip the secure connect bundle for your Astra 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.