Step 5: Create TLS certificates Stay organized with collections Save and categorize content based on your preferences.
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 is used to generate the self-signed credentials.
Note: In a production environment, you will need to use signed certificates. You can use either a certificate and key pair or a Kubernetes secret. For an example on how to obtain a TLS certificate from theLets Encrypt certificate authority (CA), seeObtain TLS credentials: An example. In this step, you will create the TLS credential files and add them to the$HYBRID_FILES/certs directory. In Step 6: Configure the cluster, you will add the file paths to the cluster configuration file.
- Execute the following command to create the credential files and store them in your
$HYBRID_FILES/certsdirectory:openssl req -nodes -new -x509 -keyout $HYBRID_FILES/certs/keystore_$ENV_GROUP.key -out \ $HYBRID_FILES/certs/keystore_$ENV_GROUP.pem -subj '/CN='$DOMAIN'' -days 3650
Where:
- DOMAIN is the domain you provided as the hostname for the environment group you created inCreate an environment group.
- ENV_GROUP is the name of the environment group where the domain is specified as a hostname. It's a good practice to include the environment group name in the key and keystore name to avoid accidentally reusing the same domain value if you create keys for multiple environment groups.
This command creates a self-signed certificate/key pair that you can use for the quickstart installation.
If you have additional environment groups with unique domain names, repeat this step for each environment group. You will reference these groups and certificates in the cluster configuration step.
- Check to make sure the files are in the
$HYBRID_FILES/certsdirectory using the following command:ls $HYBRID_FILES/certs
keystore_ENV_GROUP.key keystore_ENV_GROUP.pem
Where
keystore_ENV_GROUP.pemis the self-signed TLS certificate file andkeystore_ENV_GROUP.keyis 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.
12345(NEXT) Step 6: Configure the cluster78910Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-17 UTC.