- Configure network - choose between port-based or host-based (SNI) routing
- Define load balancing - select internal or external load balancing
- Connect Gateway to Kafka - configure authentication and protocols
- Configure Gateway to accept client connections - set up security protocols and authentication mechanisms
- Decide on Virtual Clusters - enable logical cluster isolation (optional)
Secure Gateway before going live
Before deploying Gateway to production:1
Configure client authentication
Set up authentication mechanisms (SASL, mTLS, or OAuth) for client connections. Configure client connections.
2
Set the user pool secret
Set
GATEWAY_USER_POOL_SECRET_KEY to a random base64 encoded value of 256 bits when using local service accounts. Generate the key using openssl rand -base64 32 to ensure tokens aren’t forged.3
Configure TLS certificates
Configure TLS certificates for encrypted communication between clients and Gateway. Set up keystores and truststores according to your security protocol.
4
Secure administrative API access
Configure credentials in
GATEWAY_ADMIN_API_USERS and set GATEWAY_SECURED_METRICS to require authentication for the HTTP management API. See HTTP API configuration.Troubleshoot
Custom CA certificates for KMS
If you use a Key Management Service (KMS) with custom SSL/TLS certificates (for example, Vault KMS with self-signed certificates or internal certificate authorities), Gateway needs to trust the certificate authority. Gateway is a Java application, so you need to configure a custom Java truststore that includes your CA certificate.Steps to configure custom CA for KMS
- Create a truststore with your CA certificate
keytool command to create a truststore and import your CA certificate:
- Mount the truststore into the Gateway container
/opt/conduktor/truststore.jks).
- Docker Compose
- Kubernetes
- Set the
JAVA_TOOL_OPTIONSenvironment variable
The
JAVA_TOOL_OPTIONS environment variable is a standard Java mechanism that applies the truststore configuration to all Java SSL/TLS connections made by Gateway, including connections to KMS services.