NOTE: Some aspects of this product are in Beta. The hybrid installation options are GA. To join the Beta program, reach out to your Apigee representative.

Generate self-signed TLS credentials

This topic explains how to create self-signed TLS certificates for use in an environment configuration. This information is intended for trial or testing purposes only.

The runtime ingress gateway (the gateway that handles API proxy traffic) requires a TLS certificate/key pair. For this quickstart installation, you can use self-signed credentials. In the following steps, openssl is used to generate the credentials.

  1. Be sure that you are in the base_directory/hybrid-files directory. It was suggested in the installation quickstart that you create a hybrid-files directory to contain files that you create. Your file structure may differ from the suggested structure.
  2. Execute the following command from inside hybrid-files directory, where ./certs is the directory containing your certificates.
    openssl req  -nodes -new -x509 -keyout ./certs/keystore.key -out \
        ./certs/keystore.pem -subj '/' -days 3650

    This command creates a self-signed certificate/key pair that you can use for the quickstart installation. The CN can be any value you wish for the self-signed credentials.

  3. Check to make sure the files are in the ./certs directory:
    ls ./certs

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