---
title: "Prerequisites"
description: "Prerequisites for configuring Aerospike Graph with TLS, including Docker, Python 3.10, OpenSSL, and repo setup."
---

# Prerequisites

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

This tutorial uses examples from the Aerospike Graph repository. You’ll generate TLS certificates, configure Docker containers, and run Python scripts to verify secure connections.

## Required dependencies

Install the following tools before starting the tutorial:

Docker

Docker runs AGS and Aerospike Database in containers. Download and install from [the Docker website](https://www.docker.com/).

Verify your installation:

Terminal window

```bash
docker --version
```

Python 3

Python 3.10 is required to run the Gremlin client examples. Most systems include Python by default.

Verify your installation:

Terminal window

```bash
python3 --version
```

The examples use `pip` to install Python packages. If `pip` is not available, install it from [the Python website](https://www.python.org/downloads/).

OpenSSL

OpenSSL generates the TLS certificates and keys. Most Unix-like systems include OpenSSL by default.

Verify your installation:

Terminal window

```bash
openssl version
```

If OpenSSL is not available, install it using your system package manager (e.g., `brew install openssl` on macOS or `apt-get install openssl` on Debian/Ubuntu).

## Clone the repository

1.  Clone the aerospike-graph repository to your local machine.
    
    Terminal window
    
    ```bash
    git clone https://github.com/aerospike-examples/aerospike-graph.git
    
    cd aerospike-graph/python/tls
    ```
    
    The `python/tls` directory contains two subdirectories:
    
    -   `GremlinClient-to-AGS`: TLS between Gremlin clients and AGS
    -   `AGS-to-AerospikeDB`: TLS between AGS and Aerospike Database
2.  Create and activate a Python virtual environment in the TLS example directory.
    
    Terminal window
    
    ```bash
    python3 -m venv .venv
    
    source .venv/bin/activate
    ```
    
3.  Install the required Python packages.
    
    Terminal window
    
    ```bash
    python3 -m pip install "gremlinpython>=3.7.0,<3.8.0" async_timeout
    ```
    

You’re now ready to configure TLS for Aerospike Graph.

::: undefined
-   I’ve installed Docker and verified it’s running.
-   I’ve installed Python 3.10 and pip.
-   I’ve verified OpenSSL is available on my system.
-   I’ve cloned the Aerospike Graph repository.
:::

[Previous  
Tutorial: Secure Aerospike Graph with TLS](https://aerospike.com/docs/graph/get-started-with-graph-and-tls) [Next  
Configure TLS between Gremlin client and AGS](https://aerospike.com/docs/graph/get-started-with-graph-and-tls/step/1/part/1/gremlin-to-ags-tls)