Apache Fineract on Windows Server 2025 on Azure User Guide
Overview
Apache Fineract is an open source core banking platform from the Apache Software Foundation. It keeps clients, groups, loans, savings, accounting and reporting for banks, credit unions and microfinance institutions, and exposes all of it through a REST API that your own applications, or a front end such as the Mifos web app, connect to.
This image runs Apache Fineract 1.16.1 as a Windows service on Windows Server 2025 Datacenter (Desktop Experience), with PostgreSQL 18.7 as its database on the same VM and the Eclipse Temurin 25 Java runtime. Fineract serves HTTPS on port 443 itself, with the API under /fineract-provider/api/v1/ and its Swagger UI API reference under /fineract-provider/swagger-ui/. On the first boot of every VM the image creates the database, a TLS certificate and every password of its own, and replaces the well-known default password of each of Fineract's built-in users, so nothing is shared between machines. The Windows Server licence is included in the virtual machine price that Microsoft bills; Apache Fineract is open source under the Apache License 2.0 and PostgreSQL under the PostgreSQL Licence. 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:
- Apache Fineract 1.16.1 (the ASF binary release's
fineract-provider-1.16.1.jar, Apache License 2.0) inC:\Program Files\Apache Fineract, running as the Windows serviceFineract(startup Automatic) under its own virtual accountNT SERVICE\Fineract, not LocalSystem - PostgreSQL 18.7 in
C:\Program Files\Apache Fineract\pgsql, running as the Windows serviceFineractPostgreSQLunder its own virtual accountNT SERVICE\FineractPostgreSQL, listening on127.0.0.1:5432only and accepting only password (scram-sha-256) sign-ins - Eclipse Temurin 25 JRE, private to Fineract (
C:\Program Files\Apache Fineract\jre) - The tenant
defaultwith its two databases,fineract_tenantsandfineract_default, created at first boot and owned by the database userfineract, which is not a superuser - Per-VM passwords for Fineract's built-in users (
mifos, the administrator, plussystemandinteropUser), the PostgreSQL superuser and thefineractdatabase user, written to a file only administrators can read - A per-VM self signed TLS certificate for the VM's public IP address, private IP address and computer name
- A Windows Firewall rule for TCP 443 only
- 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
The image holds the API, the database and the Swagger UI reference. It does not include a web front end for staff: connect the Mifos web app, or your own application, to the API.
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; choose a larger size for many users or large portfolios. In the network security group, allow inbound TCP 3389 (Remote Desktop) and TCP 443 (the Fineract API) from your own address ranges only. Fineract serves no plain HTTP, so port 80 is not needed.
Step 1 - Deploy from the Azure Marketplace
Sign in to the Azure Portal, choose Create a resource, search the Marketplace for Apache Fineract 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) 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:apache-fineract-windows-server:default:latest
az vm create \
--resource-group <your-rg> \
--name fineract \
--image cloudimg1647283583153:apache-fineract-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 fineract --port 3389 --priority 1000
az vm open-port --resource-group <your-rg> --name fineract --port 443 --priority 1010
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 ten minutes. When the VM first starts, Windows finishes its setup, then the image creates this VM's database, certificate and passwords and starts Fineract, whose first start builds both databases (three to four minutes of that on Standard_B2ms). Port 443 stays closed in Windows Firewall until every built-in user has its new password, so nothing answers on it before then. The setup is finished when the file
C:\ProgramData\apache-fineract-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 Fineract is running
Test-Path C:\ProgramData\apache-fineract-windows-server-firstboot.done
Get-CimInstance Win32_Service -Filter "Name LIKE 'Fineract%'" | Format-Table Name, State, StartMode, StartName -AutoSize
Get-NetTCPConnection -State Listen -LocalPort 443, 5432 | Format-Table LocalAddress, LocalPort, @{n='Process';e={(Get-Process -Id $_.OwningProcess).ProcessName}} -AutoSize
curl.exe -sk https://127.0.0.1/fineract-provider/actuator/health
True
Name State StartMode StartName
---- ----- --------- ---------
Fineract Running Auto NT SERVICE\Fineract
FineractPostgreSQL Running Auto NT SERVICE\FineractPostgreSQL
LocalAddress LocalPort Process
------------ --------- -------
:: 443 java
127.0.0.1 5432 postgres
{"groups":["liveness","readiness"],"status":"UP"}
The same commands in an elevated PowerShell window on a new VM:

True confirms first boot finished. Both services run under their own accounts and start automatically with Windows (Fineract after PostgreSQL). Fineract (java) is the only process listening on the network, on port 443; PostgreSQL listens on 127.0.0.1 only, which nothing outside the VM can reach. The health endpoint answers without a password and reports only UP or DOWN. The runtime versions and the firewall rule:
& "C:\Program Files\Apache Fineract\jre\bin\java.exe" -version
& "C:\Program Files\Apache Fineract\pgsql\bin\postgres.exe" -V
Get-NetFirewallRule -Group 'Apache Fineract' | Get-NetFirewallPortFilter | Format-Table Protocol, LocalPort -AutoSize
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
Protocol LocalPort
-------- ---------
TCP 443
The first boot log records what it made. In this output and the next, the test VM's public IP address is shown as <vm-public-ip>; yours shows its own.
Get-Content C:\ProgramData\apache-fineract-windows-server-firstboot.log -Tail 12
2026-12-02T21:04:37.2596125Z services: FineractPostgreSQL as NT SERVICE\FineractPostgreSQL, Fineract as NT SERVICE\Fineract
2026-12-02T21:04:37.5535773Z made C:\ProgramData\Fineract (pgdata: FineractPostgreSQL modify; config: Fineract read; work: Fineract modify)
2026-12-02T21:04:57.5961956Z PostgreSQL cluster made (initdb; scram-sha-256; 127.0.0.1 only)
2026-12-02T21:05:10.0668335Z role fineract (not a superuser) owns fineract_tenants and fineract_default
2026-12-02T21:07:12.7482246Z keystore made: CN=<vm-public-ip> names=wsrdp-30202a,<vm-public-ip>,10.20.0.21 certificate sha256=F83C4B216D49B55908D363F0F867B7D9118C0E0708A1396C20609912836668B7
2026-12-02T21:07:12.8142831Z fineract.properties written (SYSTEM, Administrators; NT SERVICE\Fineract read)
2026-12-02T21:10:37.8029058Z Fineract health UP after 201 s
2026-12-02T21:10:43.9095780Z passwords changed for interopUser, system, mifos: seedPassword=interopUser:401,system:401,mifos:401 newMifos=200 wrongMifos=401
2026-12-02T21:10:43.9255796Z credentials written (SYSTEM and Administrators only)
2026-12-02T21:10:44.4395975Z Windows Firewall rule cloudimg-Fineract-HTTPS-In (TCP 443) enabled
2026-12-02T21:10:44.9876141Z both services Automatic and running
2026-12-02T21:10:50.5792507Z first boot done
The passwords changed line is first boot's own proof: the default password password is now refused (401) for all three built-in users, and the new mifos password is accepted (200). The certificate is named for the VM's public IP address, its private IP address (10.20.0.21 here) and its computer name (wsrdp-30202a here), and is valid for ten years. Its public half is C:\ProgramData\Fineract\config\fineract.cer; compare its SHA-256 fingerprint with the one in the log when your browser or client first shows it.
Step 5 - Read your passwords
First boot wrote the user names and passwords to a file that only the SYSTEM account and the Administrators group can read. Here it is with every password hidden:
PS> (Get-Content C:\ProgramData\apache-fineract-windows-server-credentials.txt) -replace '(password=).*', '$1<hidden here>'
# Apache Fineract on Windows Server 2025 by cloudimg: this VM's own sign-in and database passwords (made at first boot).
# Fineract's REST API: https://<vm-public-ip>/fineract-provider/api/v1/ (HTTP Basic with the user below, and the header
# Fineract-Platform-TenantId: default, or ?tenantIdentifier=default). Allow TCP 443 from your address in the
# network security group first.
# The certificate is this VM's own, self-signed: C:\ProgramData\Fineract\config\fineract.cer
# Guide: https://www.cloudimg.co.uk/guides/apache-fineract-on-windows-server-2025-azure/
apache-fineract-windows-server.admin.user=mifos
apache-fineract-windows-server.admin.password=<hidden here>
apache-fineract-windows-server.tenant=default
apache-fineract-windows-server.api.url=https://<vm-public-ip>/fineract-provider/api/v1/
apache-fineract-windows-server.swagger.url=https://<vm-public-ip>/fineract-provider/swagger-ui/index.html
apache-fineract-windows-server.health.url=https://<vm-public-ip>/fineract-provider/actuator/health
apache-fineract-windows-server.user.interopUser.password=<hidden here>
apache-fineract-windows-server.user.system.password=<hidden here>
apache-fineract-windows-server.postgresql.host=127.0.0.1:5432
apache-fineract-windows-server.postgresql.superuser=postgres
apache-fineract-windows-server.postgresql.superuser.password=<hidden here>
apache-fineract-windows-server.postgresql.fineract.user=fineract
apache-fineract-windows-server.postgresql.fineract.password=<hidden here>
Run Get-Content C:\ProgramData\apache-fineract-windows-server-credentials.txt to see the passwords themselves. The administrator is always mifos and the tenant is always default; every password is random and different on every VM, and each built-in user's password meets Fineract's own strong password policy. Only SYSTEM and Administrators can open the file:
PS> (Get-Acl C:\ProgramData\apache-fineract-windows-server-credentials.txt).Access | Format-Table IdentityReference, FileSystemRights -AutoSize
IdentityReference FileSystemRights
----------------- ----------------
NT AUTHORITY\SYSTEM FullControl
BUILTIN\Administrators FullControl

Keep the passwords somewhere safe. The mifos password is the one you use with the API; the others are there for administration and recovery.
Step 6 - Browse the API reference
On your own computer, browse to https://<vm-public-ip>/fineract-provider/swagger-ui/index.html. The certificate is this VM's own self signed one, so your browser warns about it the first time: accept it to continue (or install a trusted certificate, see Use a DNS name and a trusted certificate below). Swagger UI lists every Fineract endpoint, grouped by area, with its parameters and responses:

The introduction at the top is Fineract's own text: the mifos / password it mentions belongs to the project's public demo server. On this VM that password is refused for every user (Step 7). Choose Authorize and enter mifos and the password from Step 5 to try calls from the page. Every call also needs the tenant: add the header Fineract-Platform-TenantId: default, or ?tenantIdentifier=default to the address.
Step 7 - Sign in to the REST API
Every call to the API uses HTTP Basic authentication with a Fineract user, plus the tenant. In a browser, open https://<vm-public-ip>/fineract-provider/api/v1/offices?tenantIdentifier=default, and enter mifos and the password from Step 5 when the browser asks. The API answers in JSON, here with the tenant's one office:

The roles the tenant starts with (.../api/v1/roles?tenantIdentifier=default):

From PowerShell on the VM, with curl.exe (part of Windows; -k because the certificate is the VM's own self signed one), the default password is refused and this VM's is accepted. The password is read into a variable and never shown:
PS> $pw = (Select-String C:\ProgramData\apache-fineract-windows-server-credentials.txt -Pattern 'admin\.password=(\S+)').Matches[0].Groups[1].Value
PS> $api = 'https://127.0.0.1/fineract-provider/api/v1'
PS> curl.exe -sk -o NUL -w "%{http_code}`n" -H "Fineract-Platform-TenantId: default" -u "mifos:password" "$api/offices"
401
PS> curl.exe -sk -o NUL -w "%{http_code}`n" -H "Fineract-Platform-TenantId: default" -u "mifos:$pw" "$api/offices"
200
PS> curl.exe -sk -H "Fineract-Platform-TenantId: default" -u "mifos:$pw" "$api/offices" | ConvertFrom-Json | Format-Table id, name, nameDecorated -AutoSize
id name nameDecorated
-- ---- -------------
1 Head Office Head Office

From another machine, use https://<vm-public-ip>/fineract-provider/api/v1 in place of https://127.0.0.1/fineract-provider/api/v1.
Step 8 - Create your first client
Fineract's records are made through the same API. This creates an active client in the Head Office and reads it back:
PS> Set-Content client.json '{"officeId":1,"legalFormId":1,"firstname":"Sample","lastname":"Customer","active":true,"activationDate":"01 December 2026","dateFormat":"dd MMMM yyyy","locale":"en"}'
PS> curl.exe -sk -H "Fineract-Platform-TenantId: default" -H "Content-Type: application/json" -u "mifos:$pw" --data-binary "@client.json" "$api/clients"
{"officeId":1,"clientId":1,"resourceId":1}
PS> curl.exe -sk -H "Fineract-Platform-TenantId: default" -u "mifos:$pw" "$api/clients/1" | ConvertFrom-Json | Format-List id, accountNo, displayName, officeName, status
id : 1
accountNo : 000000001
displayName : Sample Customer
officeName : Head Office
status : Active
Loan and savings products, accounts, staff, users and accounting follow the same pattern; Swagger UI (Step 6) documents each request, and the Apache Fineract documentation explains the concepts.
Step 9 - Check the service health
The health endpoint needs no password and is what a load balancer or monitoring probe should call: https://<vm-public-ip>/fineract-provider/actuator/health.

Change a password
Change a Fineract user's password through the API, signed in as mifos. Fineract's strong password policy applies: 12 to 50 characters, with an upper-case letter, a lower-case letter, a digit and a special character, no spaces and no character twice in a row. For mifos (user id 1):
Set-Content pwd.json '{"password":"<new password>","repeatPassword":"<new password>"}'
curl.exe -sk -H "Fineract-Platform-TenantId: default" -H "Content-Type: application/json" -u "mifos:$pw" --data-binary "@pwd.json" "$api/users/1/pwd"
Remove-Item pwd.json
Update C:\ProgramData\apache-fineract-windows-server-credentials.txt too, so the file stays right. Create a named user for each person (POST /users) rather than sharing mifos.
Use a DNS name and a trusted certificate
The image's certificate is self signed and named for the VM's IP addresses and computer name. To use a DNS name with a certificate your users already trust, point the name at the VM's public IP, put the certificate and its private key in a PKCS12 (.p12) file, and replace C:\ProgramData\Fineract\config\fineract.p12 with it, keeping the file's permissions. Its password goes on the server.ssl.key-store-password= line of C:\ProgramData\Fineract\config\fineract.properties. Then Restart-Service Fineract.
Server components
| Component | Version | Where |
|---|---|---|
| Apache Fineract | 1.16.1 | C:\Program Files\Apache Fineract\fineract-provider-1.16.1.jar, service Fineract |
| PostgreSQL | 18.7 | C:\Program Files\Apache Fineract\pgsql, service FineractPostgreSQL |
| Eclipse Temurin JRE | 25.0.5.1+2 | C:\Program Files\Apache Fineract\jre |
| WinSW (service wrapper) | 2.12.0 | C:\Program Files\Apache Fineract\Fineract-service.exe |
| Windows Server | 2025 Datacenter | Desktop Experience |
Files and folders
| Path | What it holds |
|---|---|
C:\ProgramData\Fineract\pgdata |
The PostgreSQL data folder (only SYSTEM, Administrators and NT SERVICE\FineractPostgreSQL) |
C:\ProgramData\Fineract\config |
fineract.properties (database and keystore passwords), fineract.p12 (TLS key) and fineract.cer (its public certificate) |
C:\ProgramData\Fineract\work |
Fineract's working files, uploaded documents and service-logs |
C:\ProgramData\apache-fineract-windows-server-credentials.txt |
This VM's passwords (Step 5) |
C:\ProgramData\apache-fineract-windows-server-firstboot.log |
What first boot did (it never contains a password) |
Maintenance
- Windows updates: Windows Update is on, as Microsoft ships it. Restarting the VM restarts both services automatically, PostgreSQL first.
- Back up your data: everything Fineract keeps is in the PostgreSQL databases
fineract_tenantsandfineract_default, plus uploaded documents inC:\ProgramData\Fineract\work. Use Azure Backup of the VM, orpg_dumpfromC:\Program Files\Apache Fineract\pgsql\binwith thepostgressuperuser password from Step 5. - Upgrade Fineract: you choose when to upgrade. Read the release notes first, back up, and test on a copy: a new release migrates the databases when it first starts.
- Logs: the services' output is in
C:\ProgramData\Fineract\work\service-logs; PostgreSQL logs to the Windows Application event log. - Firewall: Windows Firewall allows only TCP 443, through the rule in the Apache Fineract group; the network security group decides who can reach it.
Troubleshooting
- Nothing answers on 443 just after deployment: first boot is still running (about ten minutes). Wait for
C:\ProgramData\apache-fineract-windows-server-firstboot.done, and read the first boot log. 401from the API: use themifospassword from Step 5, neverpassword, and send the tenant (Fineract-Platform-TenantId: defaultor?tenantIdentifier=default).400with "Validation errors exist" when setting a password: the new password does not meet Fineract's strong password policy (see Change a password).- The browser shows a certificate warning: expected with the image's self signed certificate; compare the fingerprint with the first boot log, or install a trusted certificate.
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.