---
sourceDocument: Yokohama Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/application-development

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Configure Docker for Headless Browser setup in Microsoft Windows

# Configure Docker for Headless Browser setup in Microsoft
Windows {#ariaid-title1}

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

Configure Docker Server to authenticate all requests.

## Before you begin

Complete Step 2: [Generate certificates for Headless Browser setup for Microsoft Windows](https://servicenow-prod.fluidtopics.net/9Hg2sDwSD~nTka6o7C4JrQ "Generate TLS/SSL certificates to secure the Docker REST API and authenticate HTTP requests.")

Role required: admin on your ServiceNow instance and local administrator on the host machine.

## About this task

After creating your client and server keys, now you configure the Docker Server to authenticate all requests using those keys, and expose the Docker API on Port 2376.

## Procedure

1. Configure Docker to use the certificates you generated in Step 2.
2. Find or create the `C:\ProgramData\docker\config\daemon.json` file.
3. Add the following properties to the daemon.json file.  
   Be sure to replace items in these commands with the correct paths to your certificates:  
   Note:  
   The double slashes are important to copy exactly.

       {
       "tlscacert": "C:\\Users\\Administrator\\certs\\ca.pem",
       "tlscert": "C:\\Users\\Administrator\\certs\\server-cert.pem",
       "tlscert": "C:\\Users\\Administrator\\certs\\server-cert.pem",
       "tlskey": "C:\\Users\\Administrator\\certs\\server-key.pem",
       "tlsverify": true,
       "hosts": ["tcp://0.0.0.0:2376", "npipe://"]
       }

   To learn more, see [Configure the Docker daemon](https://docs.docker.com/config/daemon/#configure-the-docker-daemon).
4. In administrator PowerShell, run `restart-service *docker*`
{#headless-browser-configure-docker-windows__steps_x1t_wwt_hpb}
**Previous topic:** [Generate certificates for Headless Browser setup for Microsoft Windows](https://servicenow-prod.fluidtopics.net/9Hg2sDwSD~nTka6o7C4JrQ "Generate TLS/SSL certificates to secure the Docker REST API and authenticate HTTP requests.")  
**Next topic:** [Create the Docker image and containers for Headless Browser setup in Microsoft Windows](https://servicenow-prod.fluidtopics.net/u953NEq4djJ5sKrS6DgdPw "Pull the Docker image from the Public Registry.")

