---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Connect the agent to the MID Web Server using TLS

# Connect the agent to the MID Web Server using TLS {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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](https://www.servicenow.com/docs/zEhh1LCUgaECAkon8NCNuw "Install the .pem file into the MID unified keystore and set up the MID Web Server to enable configuring mTLS on your MID Web Server and agent.").

Role required: agent_client_collector_admin

## Procedure

1. Add the labcacert.pem file 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.pem

   The generated output is /\<path\>/labcacert.pem: OK
2. Configure the acc.yml file to use TLS.
   1. Set the insecure-skip-tls-verify property to false.
   2. Set the backend-url property to use the MID Server's FQDN.  
      backend-url="wss://\<mid server fqdn\>:\<mid web server port\>/ws/events"
   {#agent-mid-connect__substeps_jmk_3tc_wbc}
3. Restart the agent.  

       systemctl restart acc;

4. Verify in the logs that the agent is connected to the MID Server.

## What to do next

[Configure mTLS authentication for a MID Web Server](https://www.servicenow.com/docs/zgZd4l4Sj1MUzveZwd7CmQ "Enhance security in your MID Web Server extension by enabling mTLS authentication.").

