Connect the agent to the MID Web Server using TLS
Connect the agent to the MID Web Server to enable configuring mTLS on your MID Web Server and agent.
Before you begin
Ensure that you have installed the .pem file and set up the MID Web Server. For details, see Set up the MID Web Server with a .pem file.
Role required: agent_client_collector_admin
Procedure
Add the
labcacert.pemfile to your agent host's truststore.sudo cp -a /<path>/<to>/labcacert.pem /etc/pki/ca-trust/source/anchors/; sudo update-ca-trust extract openssl verify /<path>/<to>/labcacert.pemThe generated output is
/<path>/labcacert.pem: OKConfigure the
acc.ymlfile to use TLS.Set the insecure-skip-tls-verify property to false.
Set the backend-url property to use the MID Server's FQDN.
backend-url="wss://<mid server fqdn>:<mid web server port>/ws/events"
Restart the agent.
systemctl restart acc;Verify in the logs that the agent is connected to the MID Server.