Using Mutual TLS for Agents
You can configure protocol-mapper agents to use mutual TLS (mTLS) for secure communication with Connectware. In the following example setup, the agent connects via MQTT over a secure TLS connection (port 8883), requiring both client and CA certificates for mutual authentication. This approach ensures that both the server and the client verify each other's identities, adding an extra layer of security.
Additionally, the control plane connection will use mTLS, requiring a change to CYBUS_CONTROLPLANE_URI
, using the nats://
scheme as well as port 4222
.
The example shows how to configure environment variables such as CYBUS_CONTROLPLANE_URI
, CYBUS_MQTT_SCHEME
, CYBUS_MQTT_PORT
, and USE_MUTUAL_TLS
. It also explains how to mount certificates using Docker volumes to ensure secure communication between the agent and the server.
Last updated
Was this helpful?