Dependency-Track on Windows Server 2025 on Azure User Guide
Overview
OWASP Dependency-Track is an open source component analysis platform. For each application, container or service you build, you upload a CycloneDX software bill of materials (SBOM); Dependency-Track keeps an inventory of every component and version in your portfolio, flags components with known vulnerabilities, outdated versions and licence risk, and applies your own policies across all of them. A REST API lets your build pipeline upload a fresh SBOM on every build.
This image runs Dependency-Track 5.2.2 (the API server and the web interface) on Windows Server 2025 Datacenter (Desktop Experience), with PostgreSQL 18 as its database and the Eclipse Temurin 25 Java runtime. The API server and PostgreSQL listen only on the VM itself; in front of them, Caddy serves the web interface and the API on HTTPS port 443, and port 80 only redirects to HTTPS. On the first boot of every VM the image creates its own database, its own TLS certificate and its own passwords, and replaces Dependency-Track's default admin password, so nothing is shared between machines and the well-known admin / admin sign-in does not work. The Windows Server licence is included in the virtual machine price that Microsoft bills; Dependency-Track is open source under the Apache License 2.0. cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours.
What is included:
- Dependency-Track 5.2.2: the API server (
dependency-track-apiserver.jarand its libraries) inC:\Program Files\Dependency-Track\apiserverand the web interface inC:\Program Files\Dependency-Track\frontend, running as the Windows serviceDependencyTrack(startup Automatic) under its own virtual accountNT SERVICE\DependencyTrack, not LocalSystem - PostgreSQL 18.7 as the Windows service
DependencyTrackPostgreSQLunderNT SERVICE\DependencyTrackPostgreSQL, listening on127.0.0.1:5432only, with password (scram-sha-256) authentication; Dependency-Track uses its own database roledtrack, which is not a superuser - Eclipse Temurin 25 JRE, private to Dependency-Track (
C:\Program Files\Dependency-Track\jre) - Caddy 2.11.9 as the HTTPS front, running as the Windows service
DependencyTrackProxyunderNT SERVICE\DependencyTrackProxy: HTTPS on TCP 443 with this VM's own certificate, TCP 80 redirecting to HTTPS, and Windows Firewall rules for both ports - A per-VM password for the Dependency-Track user
adminand per-VM PostgreSQL passwords, written to a file only administrators can read - A per-VM self signed TLS certificate named for the VM's public IP address, valid for ten years
- The database, settings, data and logs in
C:\ProgramData\Dependency-Track, made at first boot so every VM has its own - Windows Server 2025 Datacenter, patched with Windows Update at build, Microsoft Defender Antivirus and Windows Firewall on
- cloudimg's support team on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours
Prerequisites
An active Azure subscription, a Remote Desktop client, and a virtual network in the target region. Standard_B2ms (2 vCPU, 8 GiB RAM) is a good starting point for a team; choose a larger size for a large portfolio or frequent SBOM uploads. In the network security group, allow inbound TCP 3389 (Remote Desktop), TCP 443 (Dependency-Track) and TCP 80 (the redirect to HTTPS) from your own address ranges only.
Step 1 - Deploy from the Azure Marketplace
Sign in to the Azure Portal, choose Create a resource, search the Marketplace for Dependency-Track on Windows Server 2025 by cloudimg, and select Create. On Basics pick your subscription, resource group, region and size, and set the Administrator account username and password. Under Inbound port rules allow RDP (3389), HTTP (80) and HTTPS (443), then narrow each rule's source to your own address range on the Networking tab. Select Review + create, then Create.
Step 2 - Deploy from the Azure CLI
# Accept the Marketplace terms once per subscription (required before the first CLI deploy)
az vm image terms accept --urn cloudimg1647283583153:dependency-track-windows-server:default:latest
az vm create \
--resource-group <your-rg> \
--name dependency-track \
--image cloudimg1647283583153:dependency-track-windows-server:default:latest \
--size Standard_B2ms \
--admin-username <admin-name> \
--admin-password '<a strong password>' \
--public-ip-sku Standard
az vm open-port --resource-group <your-rg> --name dependency-track --port 3389 --priority 1000
az vm open-port --resource-group <your-rg> --name dependency-track --port 443 --priority 1010
az vm open-port --resource-group <your-rg> --name dependency-track --port 80 --priority 1020
az vm open-port opens each port to any address; narrow the rules to your own ranges in the network security group afterwards.
First boot takes about five minutes. When the VM first starts, Windows finishes its setup, then the image creates this VM's database, passwords and certificate and starts the three services. Until then nothing answers on port 443. The setup is finished when the file
C:\ProgramData\dependency-track-windows-server-firstboot.doneexists (Step 4).
Step 3 - Connect with Remote Desktop
Connect to the VM's public IP address with your Remote Desktop client (on Windows, mstsc; on macOS, Windows App), signing in with the administrator name and password you set at deployment. Open Windows PowerShell as administrator for the commands below.
Step 4 - Confirm Dependency-Track is running
Test-Path C:\ProgramData\dependency-track-windows-server-firstboot.done
Get-CimInstance Win32_Service -Filter "Name LIKE 'DependencyTrack%'" | Format-Table Name, State, StartMode, StartName -AutoSize
Get-NetTCPConnection -State Listen -LocalPort 443, 80, 8080, 9000, 5432 | Format-Table LocalAddress, LocalPort, @{n='Process';e={(Get-Process -Id $_.OwningProcess).ProcessName}} -AutoSize
curl.exe -sk https://127.0.0.1/api/version
True
Name State StartMode StartName
---- ----- --------- ---------
DependencyTrack Running Auto NT SERVICE\DependencyTrack
DependencyTrackPostgreSQL Running Auto NT SERVICE\DependencyTrackPostgreSQL
DependencyTrackProxy Running Auto NT SERVICE\DependencyTrackProxy
LocalAddress LocalPort Process
------------ --------- -------
:: 80 caddy
:: 443 caddy
127.0.0.1 5432 postgres
127.0.0.1 8080 java
127.0.0.1 9000 java
{"version":"5.2.2","timestamp":"2026-11-18T22:16:13Z","application":"Dependency-Track","uuid":"11bd5be8-a931-4fff-ba03-c459d7e5221f","framework":{"name":"Alpine","version":"5.2.2","timestamp":"2026-11-18T22:14:59Z","uuid":"63e2f745-06e7-4516-aa0c-72158a2193b5"}}
True confirms first boot finished. The three services run under their own accounts and start automatically with Windows. Only Caddy listens on the network (ports 443 and 80); the API server (java, port 8080, and its management port 9000) and PostgreSQL (port 5432) listen on 127.0.0.1, which nothing outside the VM can reach.

Port 80 only redirects to HTTPS:
curl.exe -sI http://127.0.0.1/projects | Select-String '^(HTTP|Location)'
HTTP/1.1 301 Moved Permanently
Location: https://127.0.0.1/projects
The runtime versions:
& "C:\Program Files\Dependency-Track\jre\bin\java.exe" -version
& "C:\Program Files\Dependency-Track\pgsql\bin\postgres.exe" -V
& "C:\Program Files\Dependency-Track\caddy\caddy.exe" version
openjdk version "25.0.5.1" 2026-11-17 LTS
OpenJDK Runtime Environment Temurin-25.0.5.1+2 (build 25.0.5.1+2-LTS)
OpenJDK 64-Bit Server VM Temurin-25.0.5.1+2 (build 25.0.5.1+2-LTS, mixed mode, sharing)
postgres (PostgreSQL) 18.7
v2.11.9 h1:bhZtcRKQOq0fuLvEgCdPYvUxXyGn9kzjG4lh2332DTE=
The first boot log records what it made (it never contains a password):
Get-Content C:\ProgramData\dependency-track-windows-server-firstboot.log
2026-12-03T04:43:40.4750605Z provisioning finished
2026-12-03T04:43:49.5026615Z services: DependencyTrackPostgreSQL as NT SERVICE\DependencyTrackPostgreSQL, DependencyTrack as NT SERVICE\DependencyTrack, DependencyTrackProxy as NT SERVICE\DependencyTrackProxy
2026-12-03T04:43:49.8244221Z made C:\ProgramData\Dependency-Track (pgdata: DependencyTrackPostgreSQL modify; config: DependencyTrack read; data, work: DependencyTrack modify; proxy: DependencyTrackProxy read, proxy\state: DependencyTrackProxy modify)
2026-12-03T04:45:23.2624226Z PostgreSQL cluster made (initdb; scram-sha-256; 127.0.0.1 only)
2026-12-03T04:45:32.6976556Z role dtrack (not a superuser) owns database dtrack
2026-12-03T04:45:32.8973713Z dt.jvmargs written (SYSTEM, Administrators; NT SERVICE\DependencyTrack read)
2026-12-03T04:46:31.2186262Z Dependency-Track 5.2.2 ready after 53 s
2026-12-03T04:46:42.8529286Z admin password changed: newLogin=200/token=1 team=200 adminAdmin=401 wrong=401 noToken=401
2026-12-03T04:46:44.5018150Z certificate CN=<VM address> names=wsrdp-7501e0,<VM address>,<private address> sha256=AA794280DAA82EC0F2A225CA1136BF50ED63EBA94895F504A10803753A66873F; Caddyfile written
2026-12-03T04:47:08.5325885Z HTTPS front: page=1 config=1 spaRoute=1 api=1 redirect=1 status=200/200/200/200/301
2026-12-03T04:47:08.5805871Z credentials written (SYSTEM and Administrators only)
2026-12-03T04:47:10.8156645Z Windows Firewall rules cloudimg-DependencyTrack-HTTPS-In, cloudimg-DependencyTrack-HTTP-In (TCP 443, 80) enabled
2026-12-03T04:47:12.3557118Z the three services Automatic and running
2026-12-03T04:47:19.1568134Z first boot done
adminAdmin=401 is the check that the default admin / admin sign-in no longer works on this VM.
Step 5 - Read your password
First boot wrote the sign-in and the database passwords to a file that only the SYSTEM account and the Administrators group can read:
Get-Content C:\ProgramData\dependency-track-windows-server-credentials.txt
# Dependency-Track on Windows Server 2025 by cloudimg: this VM's own sign-in and database passwords (made at first boot).
# Sign in at https://<VM address>/ as admin with the password below (allow TCP 443 from your address in the network
# security group first). The certificate is this VM's own, self-signed:
# C:\ProgramData\Dependency-Track\proxy\tls\cert.pem
# Guide: https://www.cloudimg.co.uk/guides/dependency-track-on-windows-server-2025-azure/
dependency-track-windows-server.admin.user=admin
dependency-track-windows-server.admin.password=<24 random characters, different on every VM>
dependency-track-windows-server.url=https://<VM address>/
dependency-track-windows-server.api.url=https://<VM address>/api/
dependency-track-windows-server.postgresql.host=127.0.0.1:5432
dependency-track-windows-server.postgresql.superuser=postgres
dependency-track-windows-server.postgresql.superuser.password=<random, different on every VM>
dependency-track-windows-server.postgresql.dtrack.user=dtrack
dependency-track-windows-server.postgresql.dtrack.password=<random, different on every VM>
(Get-Acl C:\ProgramData\dependency-track-windows-server-credentials.txt).Access | Format-Table IdentityReference, FileSystemRights -AutoSize
IdentityReference FileSystemRights
----------------- ----------------
NT AUTHORITY\SYSTEM FullControl
BUILTIN\Administrators FullControl
The user name is always admin; the password is random and different on every VM. The PostgreSQL passwords are there for your own maintenance (backups, for example); Dependency-Track already has what it needs.

Step 6 - Check the certificate
The certificate is this VM's own, self signed, so your browser warns about it the first time. To be sure the page you open is this VM, compare the fingerprint your browser shows with the one on the VM:
$c = [Security.Cryptography.X509Certificates.X509Certificate2]::new("C:\ProgramData\Dependency-Track\proxy\tls\cert.pem")
$c | Format-List Subject, NotBefore, NotAfter, @{n='DnsNames';e={$_.DnsNameList.Unicode -join ', '}}, @{n='SHA256';e={$_.GetCertHashString('SHA256')}}
Subject : CN=<VM address>, O=Dependency-Track on Windows Server (cloudimg)
NotBefore : 12/3/2026 4:41:44 AM
NotAfter : 12/3/2036 4:46:44 AM
DnsNames : wsrdp-7501e0
SHA256 : AA794280DAA82EC0F2A225CA1136BF50ED63EBA94895F504A10803753A66873F
The certificate is named for the VM's public IP address (shown here as <VM address>), its private IP address and its computer name (wsrdp-7501e0 here).

Step 7 - Sign in from your browser
On your own computer, browse to https://<vm-public-ip>/ and accept the certificate warning (or install a trusted certificate, see Use a DNS name and a trusted certificate below). Dependency-Track's sign-in page opens: enter admin and the password from Step 5.

Dependency-Track opens on its dashboard: the portfolio's vulnerability, project and component counts, and their history over the last 30 days. The menu on the left leads to the portfolio (projects, components, vulnerabilities, licences, tags), the audits and the administration pages.

Step 8 - Add a project and its SBOM
A new VM starts with no projects. The screenshots below show a sample application, storefront-web 2.4.0, whose CycloneDX SBOM of 12 components was uploaded for them.
Choose Projects in the menu, then Create Project: give the project a name, a version and a classifier (Application here), and choose Create. The project list shows each project's latest BOM import, its format, risk score and policy violations:

Open the project and choose Upload BOM to upload its CycloneDX SBOM (JSON or XML). Dependency-Track reads every component and version from it; the Components tab lists them, each with its group, licence, risk score and known vulnerabilities, and an amber mark beside a version that is older than the newest release the repositories know of:

The circles at the top right count the project's vulnerabilities by severity (critical, high, medium, low, unassigned). They stay at 0 until Dependency-Track has downloaded vulnerability data (see Vulnerability data below).
Step 9 - Upload SBOMs from your build pipeline
A build pipeline uploads a CycloneDX SBOM over the REST API with an API key. Dependency-Track ships a team called Automation for this: its members may upload BOMs (BOM_UPLOAD) and read the portfolio (VIEW_PORTFOLIO), nothing more. You can make its API key in the web interface (Administration > Access Management > Teams > Automation > API Keys, the + button), or over the API as below.
This is a session on the VM itself, in PowerShell, with curl.exe (part of Windows); -k because the certificate is the VM's own self signed one. The admin password is read into a variable and never shown, and only the first characters of the key are printed:
PS> $pw = (Select-String C:\ProgramData\dependency-track-windows-server-credentials.txt -Pattern 'admin\.password=(\S+)').Matches[0].Groups[1].Value
PS> curl.exe -sk -o NUL -w "%{http_code}`n" https://127.0.0.1/api/v1/project
401
PS> $token = curl.exe -sk https://127.0.0.1/api/v1/user/login --data-urlencode "username=admin" --data-urlencode "password=$pw"
PS> $token.Length
43
PS> $team = (curl.exe -sk -H "Authorization: Bearer $token" https://127.0.0.1/api/v1/team | ConvertFrom-Json) | Where-Object name -eq 'Automation'
PS> $team.permissions.name
BOM_UPLOAD
VIEW_PORTFOLIO
PS> $key = (curl.exe -sk -X PUT -H "Authorization: Bearer $token" "https://127.0.0.1/api/v1/team/$($team.uuid)/key" | ConvertFrom-Json).key
PS> $key.Substring(0, 8) + '...'
odt_T9S1...
Without a sign-in the API answers 401. Keep the key in your pipeline's secret store; anyone with it can upload BOMs and read your portfolio.
The Automation team may upload to a project that exists, but not create one: an upload with autoCreate=true answers The principal does not have permission to create project. So make each project once, in the web interface (Projects > Create Project) or as admin over the API:
PS> Set-Content project.json '{"name":"storefront-api","version":"1.0.0","classifier":"APPLICATION","active":true}'
PS> curl.exe -sk -X PUT -H "Authorization: Bearer $token" -H "Content-Type: application/json" --data "@project.json" https://127.0.0.1/api/v1/project
{"name":"storefront-api","version":"1.0.0","classifier":"APPLICATION","uuid":"c3eadacb-6991-4c8b-8a80-1f6123b8757f","children":[],"tags":[],"isLatest":false,"active":true}
Then the pipeline uploads the SBOM its build made (here bom.json, a CycloneDX 1.5 SBOM of three libraries) with the key alone. Dependency-Track answers with a token for the upload's processing, which takes a few seconds:
PS> curl.exe -sk -X POST https://127.0.0.1/api/v1/bom -H "X-Api-Key: $key" -F "projectName=storefront-api" -F "projectVersion=1.0.0" -F "bom=@bom.json"
{"token":"01a23a44-a5ef-70d9-9d74-c30ad5441566","projectUuid":"c3eadacb-6991-4c8b-8a80-1f6123b8757f"}
PS> $project = curl.exe -sk -H "X-Api-Key: $key" "https://127.0.0.1/api/v1/project/lookup?name=storefront-api&version=1.0.0" | ConvertFrom-Json
PS> (curl.exe -sk -H "X-Api-Key: $key" "https://127.0.0.1/api/v1/component/project/$($project.uuid)" | ConvertFrom-Json) | Format-Table group, name, version, purl -AutoSize
group name version purl
----- ---- ------- ----
com.fasterxml.jackson.core jackson-databind 2.13.2 pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.13.2
lodash 4.17.20 pkg:npm/lodash@4.17.20
org.apache.logging.log4j log4j-core 2.14.1 pkg:maven/org.apache.logging.log4j/log4j-core@2.14.1
From another machine, use https://<vm-public-ip>/ in place of https://127.0.0.1/. Dependency-Track describes every endpoint in its REST API documentation, and plugins for common build tools (CycloneDX for Maven, Gradle, npm and others) make the SBOM for you.
Vulnerability data
Dependency-Track matches your components against vulnerability data it downloads itself, from the sources set under Administration > Vulnerability Sources (the National Vulnerability Database, GitHub Advisories, OSV) and the analyzers under Administration > Analyzers; some sources need an access token of your own from that provider. Until a source has been downloaded, components show no vulnerabilities. The VM needs outbound HTTPS to reach these sources.
Change the admin password
Sign in as admin, open Administration > Access Management > Managed Users, select admin, and set a new password. Update C:\ProgramData\dependency-track-windows-server-credentials.txt too, so the file stays right. To give people their own accounts, add them under Administration > Access Management > Managed Users and put each in a team with the permissions they need.
Use a DNS name and a trusted certificate
The image's certificate is self signed. To use a DNS name with a certificate your users already trust, point the name at the VM's public IP, get a certificate and key for it as PEM files, and replace C:\ProgramData\Dependency-Track\proxy\tls\cert.pem (the certificate, with any intermediate certificates after it) and key.pem (the private key); then Restart-Service DependencyTrackProxy.
Maintenance
- Windows updates: Windows Update is on, as Microsoft ships it. Restarting the VM restarts the three services automatically.
- Back up your data: everything Dependency-Track keeps is in
C:\ProgramData\Dependency-Track: the PostgreSQL database (pgdata), the settings (config), Dependency-Track's own data and secret key (data), and the front's Caddyfile and certificate (proxy). Use Azure Backup of the VM, or stop the services and copy the folder. Keepdata\keyswith the database: without it, secrets Dependency-Track stored cannot be read. - Logs: the API server's and PostgreSQL's service output is in
C:\ProgramData\Dependency-Track\work\service-logs, Caddy's inC:\ProgramData\Dependency-Track\proxy\state\logs, and the first boot log isC:\ProgramData\dependency-track-windows-server-firstboot.log. - Upgrades: you choose when to upgrade Dependency-Track. Read the release notes first, back up
C:\ProgramData\Dependency-Track, then stop the services (Stop-Service DependencyTrackProxy, DependencyTrack), replace the contents ofC:\Program Files\Dependency-Track\apiserverwith the new release'sdependency-track-apiserver-dist.tar.gzandC:\Program Files\Dependency-Track\frontendwith itsfrontend-dist.zip, and start them again (Start-Service DependencyTrack, DependencyTrackProxy). The database schema is upgraded when the API server starts. - Firewall: Windows Firewall allows 443 and 80 through the rules in the Dependency-Track group; the network security group decides who can reach them.
Support
cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours. Contact support@cloudimg.co.uk.