> [!CAUTION]
> You are currently viewing version 1.6 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.6 (unsupported)</button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/install-service-accounts.md.txt)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/install-service-accounts.md.txt)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/install-service-accounts.md.txt)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/install-service-accounts.md.txt)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/install-service-accounts.md.txt)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/install-service-accounts.md.txt)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/install-service-accounts.md.txt)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/install-service-accounts.md.txt)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/install-service-accounts.md.txt)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/install-service-accounts.md.txt)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/install-service-accounts.md.txt)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-service-accounts.md.txt)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/install-service-accounts.md.txt)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/install-service-accounts.html)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-service-accounts.html)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/install-service-accounts.html)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/install-service-accounts.html)

This step explains how to create the TLS credentials
that are required for Apigee hybrid to operate.

## Create TLS certificates


You are required to provide TLS certificates for the runtime ingress gateway in your
Apigee hybrid configuration. For the purpose of this quickstart (a non-production trial installation),
the runtime gateway can accept self-signed credentials. In the following steps,
[openssl](https://www.openssl.org/) is used to generate the self-signed credentials.

> [!NOTE]
> **Note:** In a production environment, you will need to use signed certificates. You can either use either a certificate and key pair or a Kubernetes secret. For an example on how to obtain a TLS certificate from the *Lets Encrypt* certificate authority (CA), see [Obtain TLS credentials: An example](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/lets-encrypt.md.txt).


In this step, you will create the TLS credential files and add them to
the `base_directory/hybrid-files/certs` directory.
In [Step 7: Configure the
hybrid runtime](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-configure-cluster), you will add the file paths to the cluster configuration file.

1. Be sure that you are in the `base_directory/hybrid-files` directory you configured in [Set up the project directory structure](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-create-tls-certificates.md.txt#setup-directory).
2. Make sure to save a domain name to the **`DOMAIN`** environment variable using the following command:

   ```
   echo $DOMAIN
   ```
3. Execute the following command from inside the `hybrid-files` directory:

   ```
   openssl req  -nodes -new -x509 -keyout ./certs/keystore.key -out \
       ./certs/keystore.pem -subj '/CN='$DOMAIN'' -days 3650
   ```


   Where **`DOMAIN`** is the same one you used for your environment in
   [Part 1, Step 5: Create an
   environment group](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/precog-add-environment).


   This command creates a self-signed certificate/key pair that you can use for the quickstart
   installation.
4. Check to make sure the files are in the `./certs` directory using the following command:

   ```
   ls ./certs
   ```

   ```
    keystore.key
    keystore.pem
   ```


   Where `keystore.pem` is the self-signed TLS certificate file and `keystore.key`
   is the key file.


You now have the credentials needed to manage Apigee hybrid
in your Kubernetes cluster. Next, you will create a file that is used by Kubernetes
to deploy the hybrid runtime components to the cluster.
[1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-create-cluster.md.txt) [2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-cert-manager.md.txt) [3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-asm.md.txt) [4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-apigeectl.md.txt) [5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-service-accounts.md.txt) [6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-create-tls-certificates.md.txt) [(NEXT) Step 7: Configure the hybrid runtime](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-configure-cluster.md.txt) [8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-enable-synchronizer-access.md.txt) [9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-hybrid-runtime.md.txt)

<br />