iagctl cert-gen
iagctl cert-gen
Generate certificates for secure communication between gateway nodes.
The iagctl cert-gen command generates TLS certificates for secure communication between gateway servers, clients, and runners. TLS secures data transmitted over the network, which is critical when handling sensitive information.
While Itential provides this utility for convenience, you can use any method to generate your certificates. For more information, see Create certificates.
Syntax
Where <type> is one of: ca, server, client, or runner.
How cert-gen works
When you run cert-gen, it first creates a Certificate Authority (CA) certificate that signs the other certificates. Set the CA certificate at the application level using GATEWAY_APPLICATION_CA_CERTIFICATE_FILE.
When you generate server, client, or runner certificates, the command reads the ca.pem file from the current directory or from the directory you specify with the --output flag.
Examples
Generate a CA certificate
Generate server certificates
Generate client certificates
Generate runner certificates
Options
The following options apply to all certificate types.