IAG requires certificates for secure communication between components and with Gateway Manager.
IAG uses certificates for different communication scenarios, each requiring mutual TLS authentication:
For more information, see Choose a deployment architecture.
For mutual TLS (mTLS) to function properly, each node requires:
You can share the CA file among all nodes within the cluster or use multiple CA files signed by the same authority.
Create certificates for secure communication between your gateway cluster and Gateway Manager. Gateway Manager supports self-signed certificates, CA-issued certificates, and CA-issued wildcard certificates.
To generate a self-signed Gateway Manager certificate, run the following OpenSSL command on the Linux server where you installed your gateway server:
You can also provide your own certificates. For example, you might obtain certificates from a trusted certificate authority for production environments. To use your own Gateway Manager certificates, specify the certificate file and private key file with the following configuration variables:
GATEWAY_CONNECT_CERTIFICATE_FILE: Default location is /etc/gateway/certificates/gw-manager.pemGATEWAY_CONNECT_PRIVATE_KEY_FILE: Default location is /etc/gateway/certificates/gw-manager-key.pemFor more information, see Connect variables.
After creating your Gateway Manager certificate, you must upload it to Gateway Manager so Itential Platform can recognize and trust it. This trust relationship enables your gateway to establish a secure connection with Platform.
Gateway Manager validates your certificate during upload:
For information on viewing, downloading, and deleting certificates, see Manage certificates.
For communication within your gateway cluster, generate certificates for each node type in your architecture:
After generating your certificates, configure the environment variables to point each node to its certificate files.
For more information, see Configuration variables.
Set the CA file location for all application modes (client, server, and runner):
GATEWAY_APPLICATION_CA_CERTIFICATE_FILEGATEWAY_CLIENT_CERTIFICATE_FILEGATEWAY_CLIENT_PRIVATE_KEY_FILEGATEWAY_SERVER_CERTIFICATE_FILEGATEWAY_SERVER_PRIVATE_KEY_FILEGATEWAY_RUNNER_CERTIFICATE_FILEGATEWAY_RUNNER_PRIVATE_KEY_FILEDisabling TLS can be helpful when you first configure your cluster architecture to verify that everything works before placing certificates on your gateway nodes. Use the following configuration variables to disable TLS depending on the application mode:
GATEWAY_CLIENT_USE_TLS=falseGATEWAY_SERVER_USE_TLS=falseGATEWAY_RUNNER_USE_TLS=falseItential strongly recommends enabling TLS in production environments.
For production environments implementing mutual TLS, consider:
If you experience issues while setting up your TLS certificates, you can enable additional gRPC logs to help identify and troubleshoot problems:
These environment variables provide additional information about the connections being formed between nodes.