Why Apache Fineract security hardening is more than changing the default login
Hardening a Fineract instance means proving to regulators and auditors that the platform is controlled in its own infrastructure, and that starts with much more than replacing the default mifos/password login. The Fineract README uses that default only as a development example, and it warns that a production deployment can be complex, costly and time-consuming. The project does not provide a comprehensive production deployment guide, so the team that runs the bank's instance has to decide the settings, network layout, data protections and evidence trail itself. Changing the login is the first item on that list, not the whole list.
The attack surface is wider than a login page because Fineract is headless. It exposes REST APIs with no user interface of its own, and every request carries a Fineract-Platform-TenantId header that selects a tenant configured from the tenants database. Beyond the APIs, the write, read and batch instances each have an endpoint and a database connection, the Close of Business batch job runs against live account data, and optional event publishing to ActiveMQ or Kafka is disabled by default but can be switched on. Each of these needs an owner, an exposure decision and a configuration check. Before go-live, confirm which of these endpoints your deployment reaches from which networks, and who can change the tenant and environment settings.
Hardening therefore spans four layers: configuration (HTTPS through settings such as FINERACT_SERVER_SSL_ENABLED, authentication, instance types), network (which clients and services can reach each endpoint), data (database access, tenant separation, backups) and evidence (audit logs that show who changed what and when). Regulators and auditors will ask for proof across all four. DeployOpen can prepare the systems, controls and evidence for that review, but independent auditors and certification bodies make the assessment. Start by asking your team to list every endpoint, credential and tenant in the deployment, and compare that list with the controls you can show.
Which Fineract components and settings carry security risk
Fineract's risk sits in a small number of places: how users authenticate, how transport is secured, how tenants are separated, where data lives, which instances can reach it, and which events leave the platform. Each card below names one of these components, what it exposes and where it is configured, so the review can start from configuration files and not from assumptions.
Authentication with OAuth2 and basic auth
Fineract's REST APIs accept OAuth2 and HTTP basic authentication, so every API call is only as strong as the credential behind it. Basic authentication sends credentials with every request and is only acceptable over encrypted transport. Check which schemes are enabled in your deployment, who holds client credentials, and whether API clients use scoped, rotated secrets. Confirm the exact configuration keys with the Fineract documentation for your release.
Fineract platform docsDefault development login
The README documents a default development login using the username mifos and a matching password. This login must be removed or changed before any real deployment, and it should be treated as a known credential by anyone who has read the public documentation. Review user records in every tenant, not only the default one, and confirm that no seed data, scripts or container images reintroduce the account during redeployment.
HTTPS and SSL settings
The Fineract documentation strongly encourages HTTPS only, with SSL settings supplied through environment variables such as FINERACT_SERVER_SSL_ENABLED. Enabling SSL in the application is only one layer: the reverse proxy, load balancer and ingress must also terminate or pass through TLS correctly, and plain HTTP ports should not be reachable from outside the network. Verify protocol versions, certificate management and redirect behavior in the actual deployed path.
Tenant header and tenants database
Fineract is multi-tenant. API requests carry the Fineract-Platform-TenantId header, and tenant database connections are read from a tenants database. A client that can set this header or write to the tenants database can reach another institution's data, so the risk is in both the header handling at the edge and the access rights on the tenants database. Confirm that gateways do not trust client-supplied tenant values and that the tenants database has its own restricted accounts.
PostgreSQL and its JDBC driver
PostgreSQL is the recommended database, and the official Docker image ships only the PostgreSQL JDBC driver. The database holds client, loan and ledger data, so network exposure, database roles, encryption in transit and backup access matter more than the application settings. Confirm that the database is reachable only from Fineract instances, that application accounts cannot alter schema outside migrations, and that the driver version is tracked in your upgrade process.
FSIP-9 proposalRead, write and batch instance types
Fineract instance types are set by environment variables, and each type has a different job: write instances change data and run Liquibase migrations, batch instances run the Close of Business job, and read instances serve queries from replicas. Each type needs its own network and privilege boundary. Check that read instances cannot write, that only write instances hold migration rights, and that administrative and batch endpoints are not exposed to general API traffic.
Fineract platform docsExternal event publishing
Fineract can publish business events, such as ClientCreated, to ActiveMQ, other JMS brokers or Apache Kafka. This feature is disabled by default, so the first check is whether it is switched on at all. When enabled, events carry customer and account information to other systems, so broker authentication, topic access, encryption and consumer permissions need the same review as the core platform.
How hardening changes across single node, high availability and air-gapped setups
A single node pilot runs the API, the database and any batch work on one host, which keeps the attack surface small but leaves no separation between roles. The default development login of mifos must still be replaced before any real data arrives, and the pilot should not hold production client data unless it meets the same controls as production. Because one process handles reads, writes and batch jobs, Liquibase migrations run on that node at startup, so a failed migration can block the whole system.
- Replace default credentials: Change the
mifosaccount and any database passwords before the instance is reachable from a network, and record who holds each secret. - Terminate HTTPS on the service: Enable TLS with settings such as
FINERACT_SERVER_SSL_ENABLEDand confirm that plain HTTP is refused, not just unused. - Restrict the database to localhost or a private subnet: PostgreSQL should accept connections only from the Fineract host.
- Keep the tenants database under the same controls: Tenant connection settings live in a separate database, so its credentials need the same protection as the ledger.
- Limit exposure of the API: Place the node behind a firewall rule that allows only the front end and approved administrators.
Before sign-off, confirm that the pilot cannot be reached from outside its intended network and that its data is not copied into a production environment without the full control set.
A high availability setup separates Fineract into write, batch and read instances, with read instances usually attached to PostgreSQL read replicas. Each role has a different exposure: read instances take most of the public or staff API traffic, while the write and batch instances should stay on the private network. Liquibase migrations run only on write instances, so the migration path and its credentials should be restricted to that role alone.
- Expose read instances selectively: Only read endpoints that front ends need should be reachable through the load balancer, and write paths should not be published to the same listener.
- Keep write and batch instances private: Restrict them to internal addresses and service accounts, and limit who can trigger the Close of Business job.
- Terminate TLS at a defined point: Decide whether TLS ends at the load balancer or at each instance, and apply the same certificate policy to internal hops that carry client data.
- Scope database accounts by role: Give the migration account write rights only, and give read instances credentials that cannot modify the ledger.
- Monitor role boundaries: Alert when traffic reaches a write or batch instance from an unexpected source.
Confirm the role mapping with your architect before go-live, because a misrouted write path is a control failure as much as an outage.
On Kubernetes, the platform adds ingress controllers, service meshes and secrets stores, which change where TLS terminates and how credentials reach pods. Liquibase can run as a separate job using the liquibase-only Spring profile, which lets migrations execute once and outside the serving pods. That separation reduces the number of pods holding migration rights, but the job itself becomes a privileged workload that needs tight access control.
- Run migrations as a dedicated job: Use the
liquibase-onlyprofile in a one-off job with its own service account and database role, and remove that role from serving pods. - Control ingress and TLS: Confirm whether the ingress controller or the pod terminates TLS, and whether traffic between pods is encrypted if it carries client data.
- Use network policies: Restrict which pods can reach write and batch instances, and block direct access to the database from namespaces that do not need it.
- Store secrets outside images: Load database and
mifoscredentials from a managed secrets store, not from manifests committed to source control. - Pin image versions: Deploy tagged images so that a security patch can be verified and rolled out deliberately.
Check the cluster's admission and network policies against the instance roles, since defaults often allow more traffic than the design intends.
An air-gapped deployment has no route to public package registries, update servers or external identity providers, so every image, library and certificate must be brought in through an approved process. Hardening here focuses on controlled transfer, offline certificate authorities and logging that stays inside the enclave. Upgrades and security fixes arrive later than in connected networks, so the team should plan for that lag and document how each release is verified before it enters the enclave.
- Transfer artifacts through a controlled path: Verify the signatures and checksums of container images, JDBC drivers and build artifacts before they cross the boundary.
- Use an internal certificate authority: Issue TLS certificates from an authority inside the enclave and distribute its trust chain to every client that connects.
- Keep logs local but protected: Send audit logs to an internal store with retention and access controls that match your regulator's expectations.
- Disable outbound egress by default: Block outbound connections from Fineract instances and open only the paths that internal integrations need.
- Plan for delayed patches: Record how long a security fix takes to reach the enclave and document any compensating controls while it waits.
Confirm with your security team which identity provider, certificate authority and log store the enclave will use, because each choice changes the controls you need to document.
Which hardening choices to make before go-live
This table compares the main hardening decisions for a Fineract deployment, with the option each one usually suits and the operating cost it adds. Read each row as a choice to settle with your security, platform and compliance teams before the first production data load. The main takeaway is that the cheapest option at build time is not always the cheapest to run and evidence during an assessment.
| Decision | Option and when it fits | Operational cost |
|---|---|---|
| Authentication method | HTTP basic only fits a short-lived test environment. OAuth2 with an external identity provider fits any production deployment where staff access must be centrally managed. See the SSO and identity integration topic for the design detail. | Basic authentication means credential rotation and offboarding are manual inside Fineract. OAuth2 adds identity provider configuration, token lifetime settings and a dependency on the identity team. |
| TLS termination point | Terminating TLS in Fineract itself fits a simple single-instance setup with direct client access. Terminating at a load balancer or ingress fits multi-instance deployments where certificates are managed centrally. | Fineract-level TLS means certificate handling on each instance. Edge termination requires securing the traffic between the proxy and Fineract, so the internal hop must be configured and verified too. |
| Tenant data separation | One shared database with tenant rows fits a group of related entities run by one operator. Per-tenant databases fit institutions that need stronger isolation, separate backup or separate retention. | Shared databases are simpler to back up and upgrade once but make isolation evidence harder to show. Per-tenant databases multiply backup, patching and migration runs, which raises recurring effort. |
| Event broker exposure | Keeping ActiveMQ or Kafka internal to the platform network fits most deployments, with consumers placed inside the same trust zone. Exposing the broker to external consumers fits partners that must receive events outside the network. | External exposure adds authentication, authorization per topic, encryption in transit and monitoring for each consumer. Internal brokers need network rules and fewer access reviews. |
| Read traffic routing | Running reports and read-heavy queries on read instances backed by replicas fits high load. Sending all traffic to the write instance fits small deployments with low concurrency. | Replicas add database replication monitoring and a need to confirm which role each service account can reach. Read routing also needs controls so reporting users cannot reach write paths by mistake. |
| Admin and maker-checker controls | Enforcing maker-checker on high-value transactions and restricting administrative roles fits any regulated lender or depositor. Relying on default administrator access fits only isolated test systems. | Defining roles, approval thresholds and periodic access reviews is ongoing work for the business and the platform team, and needs evidence kept for the assessor. |
| Audit trail retention | Forwarding Fineract and database logs to a central, access-controlled store fits organizations with a security operations function. Keeping logs only on the application host fits no production use. | Log storage, retention periods and tamper resistance are recurring costs. Confirm the retention period your regulator or auditor expects before sizing storage. |
How to harden a Fineract deployment step by step
This sequence takes a Fineract deployment from its default state to one where exposed endpoints, credentials, transport, tenant access, database access and audit logging are each set deliberately and checked before go-live.
Inventory exposed endpoints and instance types
Before changing settings, list every network path into the platform: the REST API, any OAuth2 or basic authentication entry points, the read, write and batch instances, and any ActiveMQ or Kafka connections. Record which instance type each service runs as, because the write and batch instances carry administrative and schema-changing duties that the read instances should not. Confirm with the platform team which load balancer routes reach each instance. The step is done when the team holds a written map of every reachable endpoint, its instance type and its owner, and can point to any endpoint not on the list as a defect.
Replace the default development login
The Fineract README documents a default development login with the username mifos and a matching password, and states that it must be changed for any real deployment. Create named service and staff accounts, set strong unique credentials stored in a secrets manager, and delete the default user from every environment, including test, staging and any sandbox that holds copies of production data. Check the result by attempting a login with the default credentials against each environment; the step closes only when every attempt is rejected and the removal is recorded in the change log.
Enable HTTPS only and document SSL variables
The Fineract documentation strongly encourages HTTPS only and exposes SSL settings through environment variables such as FINERACT_SERVER_SSL_ENABLED. Enable SSL on the application, deploy valid certificates issued by the organization's approved authority, and disable plain HTTP listeners at the load balancer and the application. Write down every SSL-related variable, its value per environment and the certificate renewal owner. Verify by connecting over plain HTTP, which should fail, and by inspecting the TLS configuration from outside the network. Keep the resulting configuration file as evidence for the review.
Restrict tenant identifiers and test failures
Fineract is multi-tenant, and API requests carry the Fineract-Platform-TenantId header, with tenant connections configured from a tenants database. Confirm which tenant identifiers exist in that database, remove any that are unused, and restrict the tenant list to those the institution actually operates. Then send test requests without the header, with an unknown tenant identifier and with a tenant the test user should not reach. The step is complete when each of these requests fails as designed and the test results are saved with the environment record.
Lock database access to Fineract service accounts
The README recommends PostgreSQL as the database and the official Docker image ships only the PostgreSQL JDBC driver, so the database should be a PostgreSQL instance dedicated to Fineract. Create separate database roles for the application, for Liquibase migrations and for read replica access, grant each only the privileges it needs, and remove shared or default administrative logins from application configuration. Confirm that network rules allow connections only from the Fineract instances. Verify by attempting a connection with a role that should not exist in the approved list and by reviewing the grants output, which should match the documented role design.
Restrict management and batch endpoints to internal networks
The batch instance runs the Close of Business job and the write instance runs Liquibase migrations, so both should be reachable only from internal administrative networks or the orchestration layer. Place these instances in private subnets, remove public routes to them, and limit any management or actuator-style endpoints to the operations team's address ranges. Confirm the restriction by making the same requests from an external network and from an approved internal host. The step closes when external requests are refused and internal requests succeed, with both results stored in the review file.
Disable event publishing until a consumer is approved
Fineract can publish business events such as ClientCreated to ActiveMQ, other JMS brokers or Apache Kafka, and this is disabled by default according to the README. Keep it disabled at go-live unless a named consumer has been reviewed for what data it receives, how it authenticates and who owns it. When an event integration is approved, enable it in one environment first, confirm the topic or queue permissions, and record the owner. The step is done when the event settings in each environment match the approved list, and any unapproved broker connection is absent from configuration.
Configure logging for administrative and maker-checker actions
Set logging so that administrative changes, user and role updates, product and configuration changes, and maker-checker approvals each produce a record that identifies the actor, the action, the target and the time. Ship these logs to a store that the application team cannot edit, and confirm retention settings with the compliance owner. Test by making a controlled change, such as a test role update, and confirming that the entry appears in the central store with the correct actor. The step closes when a test change is traceable end to end.
Record the configuration as review evidence
Export the final configuration for each environment, including the endpoint inventory, SSL settings, tenant list, database role grants, network rules, event settings and logging configuration, and store it under version control or an evidence repository with a dated sign-off by the owner of each area. Note that DeployOpen prepares systems and evidence for compliance assessments but does not issue audit reports or certifications; independent auditors and certification bodies make those determinations. The step is done when a reviewer can trace each control to a file, a test result and a named owner.
What banking regulators and auditors look for in Fineract evidence
Examiners and external auditors do not usually ask whether a Fineract deployment is secure in the abstract. They ask whether you can show, for each control area, what the rule is, who owns it, how it is enforced and what records prove it operated. The areas they raise most often are access control and least privilege, change management for configuration and upgrades, separation of duties, logging and retention, encryption in transit, backup and restore, and separation of tenant data. For Fineract, that means evidence about named staff accounts replacing the development login, OAuth2 or other identity controls, role assignments, maker-checker approvals, configuration change records, the Liquibase and release history for each environment, HTTPS enforcement settings, backup test restores and per-tenant data boundaries. Confirm the specific control frameworks, sampling expectations and evidence formats with your regulator and your external auditor before design starts, because the same setting can satisfy one request and fall short of another.
Evidence is easier to produce when it is designed in from the start. A practical approach is to map each control area to the Fineract setting, the operational procedure and the record that will be retained. For example, an illustrative mapping might link least privilege to the role and permission configuration in Fineract, link change management to a ticket, a peer review and the deployed release tag, and link logging to the audit records and the infrastructure logs kept for the retention period your policy sets. Ask your team to test that each record can be retrieved, not only that it exists. Restores should be rehearsed and documented, and tenant separation should be shown with test evidence, not assumed from the architecture.
DeployOpen prepares systems, controls and evidence for these assessments, including the configuration baseline, runbooks, test results and the mapping between controls and artifacts. DeployOpen does not issue audit reports, attestations or certifications. Those come from your regulator, an independent auditor or a certification body. When you request a quote, ask for the evidence pack to be listed as a deliverable with named artifacts, and ask who will answer auditor questions after handover. Decide early which of these controls your organization owns internally, because the answer determines how much of the evidence has to be produced by your own staff on a recurring basis.
Hardening controls for secrets, network and data
A Fineract deployment is only as strong as the weakest path into its APIs, database and tenant data. The six controls below cover the places where a default setting, a shared credential or an exposed service would let someone reach customer records or move money. Each one names the failure it prevents and what to check during review.
Replace default credentials
The Fineract README documents a development login of mifos with a password that must be changed for any real deployment. Rotate the admin and service account credentials before go-live, and confirm that no sample or seed credentials remain in configuration, container images or CI variables. Store secrets in a managed vault rather than in environment files checked into source control, and record who can read and rotate them. Ask your team to show the rotation procedure for the database account as well as the application accounts.
Fineract docsDatabase account separation
Give each instance type its own database role with only the privileges it needs. Read instances should connect as read-only users against replicas, while only write and batch instances should hold schema change rights, since Liquibase migrations run on write instances. A single shared superuser across all components turns any one compromised pod into full control of the ledger. Ask for a grant listing per role and confirm that the tenants database is reachable only by the components that resolve tenant connections.
Network segmentation by instance type
Place read, write and batch instances in separate network zones with explicit allow rules. Only the front end and approved API clients should reach read and write endpoints, the batch workers should reach the database and the message broker but not the public internet, and the database should accept connections only from the Fineract tier. Verify these rules by testing from each zone, not only by reading the firewall configuration. Unrestricted east-west traffic is the usual reason a single exposed service becomes a route to the ledger.
TLS everywhere with managed certificates
The Fineract documentation strongly encourages HTTPS only and exposes SSL settings through environment variables such as FINERACT_SERVER_SSL_ENABLED. Enable TLS on every hop that carries customer or credential data, including connections from the front end, between internal services and to the database where supported. Track certificate issuance, renewal and key storage in one inventory, and test that plain HTTP requests are refused rather than redirected with credentials exposed. Expired or self-signed certificates left in place are a common cause of forced workarounds.
Fineract docsTenant isolation checks
Fineract is multi-tenant, and API requests select a tenant through the Fineract-Platform-TenantId header. Test that a credential issued for one tenant cannot read or write another tenant's clients, loans or savings accounts by changing that header. Confirm that the front end and any gateway do not let clients set the header freely, and that tenant connection settings resolve only to the intended database. Repeat these checks after each upgrade, because a regression here exposes every institution on the platform at once.
Event broker and consumer restrictions
Fineract can publish business events such as ClientCreated to ActiveMQ, other JMS brokers or Apache Kafka, and this is disabled by default. Enable it only for the topics a named consumer needs, and restrict broker access by user, topic and network so that other services cannot subscribe to customer events. Authenticate consumers, encrypt the connection where the broker supports it, and treat event payloads as personal data in retention and logging reviews. Ask whether any consumer can write back to Fineract, since that path bypasses the API controls.
Fineract repositoryHow to test that Fineract hardening holds and fails safely
Does the default development login still work on a Fineract deployment?
It should not. The Fineract README documents a default development login of mifos with a matching password, and it must be changed for any real deployment. Test by attempting HTTP basic authentication against the API with that account and the documented default password, from inside and outside the network. The safe outcome is a rejected request (an authentication failure, not a successful response), and the account should be disabled or its password rotated to a value held in your secrets store. Also check that no other seeded or sample accounts remain active, and confirm the result in the deployed environment, not only in configuration files, because the environment variables that override defaults can differ between the write, read and batch instances.
Does plain HTTP get refused on the Fineract API?
It should be. The Fineract documentation strongly encourages HTTPS only and documents SSL settings through environment variables such as FINERACT_SERVER_SSL_ENABLED. Test by sending requests to the API port and to every public hostname over ` and by checking that the load balancer, ingress and any redirect rules do not forward plain traffic to the application. The safe outcome is that no credentials or API responses travel in cleartext: connections should fail or be redirected to HTTPS, and the certificate chain should validate from a clean client. Repeat the check for the batch and read instances if they are reachable on their own addresses, since a single hardened entry point does not protect a side door.
Does a request with a wrong or missing tenant header get rejected?
It should fail closed. Fineract is multi-tenant, and API requests carry a Fineract-Platform-TenantId header that selects the tenant connection from the tenants database. Test three cases with a valid authenticated session: no header, a header naming a tenant that does not exist, and a header naming a tenant the test user is not entitled to use. Expected results are a rejection for the first two and no data for the third, with no fallback to a default tenant. Also confirm that error messages do not reveal tenant names or database details. Record the exact responses so a regression after an upgrade can be compared against the baseline.
Can a client reach a batch or write endpoint from the internet?
Only the endpoints that must be public should be. The Fineract documentation describes read, write and batch instance types set by environment variables, and the batch and write instances carry operational work such as Close of Business and Liquibase migrations. Test from an external network segment by enumerating the public DNS names, load balancer listeners and ingress paths, then attempting to reach write, batch and administrative paths directly. The safe outcome is that these paths are unreachable from the internet and reachable only from the internal network or a bastion. Repeat the test after each infrastructure change, because a new ingress rule can expose a path that was previously internal.
Does a database role outside the service account connect to the Fineract database?
It should not, and only the intended service roles should be able to read or write. PostgreSQL is the recommended database for Fineract according to its README, and FSIP-9 records the decision to standardize on it. Test by attempting connections from a host that is not part of the application tier, using a role that was created for another purpose, a read-only reporting role, and a superuser account. Then confirm that the application role cannot create roles or alter schema outside what migrations need, and that the tenants database is restricted separately from tenant data databases. Expected results are rejected connections from unauthorized hosts and roles, enforced by pg_hba.conf rules and grants, with the rules themselves reviewed as configuration evidence.
Do privileged actions appear in the audit logs?
They should, and the test should prove it end to end. Choose a set of privileged actions, such as creating a user, changing a role, creating or approving a loan product, reversing a transaction, and changing a configuration setting. Perform each one with a named test account, then search the application logs, database audit records and any log shipping destination for the event. Check that each entry records who acted, what changed, which tenant was affected and when, and that the logs cannot be edited by the application account. Expected results are that every action is traceable within the time your regulator or auditor expects, and that a missing entry is treated as a failed test, not a documentation gap.
How long does this testing take and who should run it?
The duration depends on how many environments, instance types and tenants you test, and on whether the team already has a tested runbook. No duration is supplied for this work, so ask any provider for a written scope that lists each test case, the environments covered and the evidence each test produces. Your own security or platform team can run these checks if it has access to the deployment and the authority to change ingress and database rules. An independent tester adds value because it does not share assumptions with the people who built the configuration. Either way, retest after every Fineract upgrade and infrastructure change, and keep the results with the compliance evidence set.
Does DeployOpen run this hardening test on a Fineract deployment?
DeployOpen runs security testing of applications, APIs and cloud and infrastructure, and it deploys and hardens self-hosted open-source platforms inside the client's own infrastructure. It prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications, and independent auditors and certification bodies do that. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so the test cases above can be listed in a quote. Ask for the written scope to name the environments, the instance types and the evidence each test produces.
How to verify hardening with penetration testing and configuration review
Verify hardening against the deployed system, not the intended design. A configuration review compares what is actually running in the client's environment with the hardening decisions: whether the default mifos login is gone, whether HTTPS is enforced with the SSL settings such as FINERACT_SERVER_SSL_ENABLED applied on every instance, whether read, write and batch instances expose only what they should, and whether the database and tenants database are reachable only from the services that need them. Ask for the environment variables, container or Kubernetes manifests, ingress rules, database role grants and identity provider configuration as they run today, and compare them line by line against the hardening baseline. Drift between a clean build and a live cluster is the most common gap this review finds.
Penetration testing then tests the controls from the outside in and from the inside out. Authenticated and unauthenticated API testing confirms that every REST endpoint rejects requests without valid credentials and that roles limit what a staff user can read or change. Tenant boundary testing sends requests with one Fineract-Platform-TenantId value using credentials issued for another tenant, which is where multi-tenant platforms most often fail. Database access testing checks whether the application account can do more than it needs, and whether anything outside the application tier can connect to PostgreSQL. Agree in writing, before testing starts, the in-scope hostnames, tenants, test accounts, permitted techniques, testing windows, data handling rules for any real client records, and who is contacted if a critical issue appears.
Every finding should arrive with a severity, the evidence, the specific setting or code path responsible, a recommended fix and a retest against the same environment once the fix is in place. Ask for that retest to be written into the scope so it is not a separate quote later. Confirm with your own security and compliance teams which findings they need closed before go-live and which can be accepted with a documented risk decision. DeployOpen runs security testing of applications, APIs and infrastructure and delivers findings, fixes and a retest on that basis. Testing shows the state of the system at the time it was tested, so plan a repeat after each Fineract upgrade and significant configuration change.
What to monitor, back up, patch and document after hardening
This table lists the operating checks a Fineract team should run after hardening, what to look at in each, and how often to review it. Use it to assign owners and to decide which evidence to keep for auditors, since the frequencies are choices for your own risk and change process rather than fixed requirements.
| Area | What to check | How often to check |
|---|---|---|
| Access and admin action logs | Review logins to Fineract and actions taken by administrative and maker-checker users, comparing them against approved staff roles | Decide with your compliance team, typically on a regular schedule your policy defines |
| Failed authentication | Watch for repeated failed basic or OAuth2 logins, especially against the default development account, which must be disabled or changed | Set alerts for review, then confirm the cadence during testing |
| TLS certificate expiry | Confirm HTTPS-only endpoints present valid certificates, track expiry dates and check that the SSL settings still match the approved configuration | Automated monitoring with alerts ahead of expiry; confirm the lead time with your operations team |
| Database account changes | Review role grants, new or changed PostgreSQL accounts, and access to the tenants database and read replicas | Regularly, and after every change window or staff change |
| Event broker access | Check which clients can publish to or consume from ActiveMQ or Kafka topics, and confirm external event publishing is still enabled only where approved | Each quarter and after any new consumer is added |
| Backups and restore tests | Confirm PostgreSQL backups cover all tenant databases, and restore a copy to a separate environment to verify usability | Restore tests on a schedule your recovery targets require; confirm targets with the business owner |
| Quarterly release review | Review each official Fineract release, its end-of-life notices and security-relevant changes, then plan a test cycle | Quarterly, after each official release is published |
| Liquibase migrations on write instances | Confirm schema migrations run only on write instances or the separate liquibase-only profile, and regression-test products and accounting before promotion | With every upgrade, in a non-production environment first |
| Evidence pack for auditors | Keep configuration baselines, change records, test results, access reviews, restore test reports and this checklist's outputs in one controlled location | Continuously, with a review before each audit or assessment |
How much effort does Apache Fineract security hardening take, and can our team do it?
What drives the effort of hardening an Apache Fineract deployment?
The effort scales with how much of the platform you run and how many controls you must prove. The main drivers are:
- Number of instances: each read, write and batch instance needs its own transport, secret and logging configuration, and each must be checked separately.
- Number of tenants: every tenant is a separate institution or brand with its own connection settings, so data separation and tenant-level access need testing per tenant.
- Integrations: each system that consumes events or calls the APIs adds credentials, network paths and trust decisions to review.
- Identity provider work: moving off basic authentication to OAuth2 with an external provider is often the largest single item.
- Compliance scope: the evidence your auditors expect for access control, change management and logging sets how much documentation is needed.
Ask for the scope as a list of these counts before any quote.
Can our in-house team harden Fineract using the README and documentation?
A capable team can work through the published guidance, but the README itself warns that a production deployment can be complex and that the project does not provide a comprehensive production deployment guide. The default development login of mifos and password must be replaced, and HTTPS settings such as FINERACT_SERVER_SSL_ENABLED must be configured deliberately. Your team will need to decide how secrets are stored, how database access is restricted, how tenant isolation is verified and how audit logs are retained. Check whether your engineers have run Java services on PostgreSQL in regulated environments, and whether anyone owns the security decisions end to end. The gap is usually in verification and evidence rather than in the settings themselves.
What does the work need from our organization?
Hardening needs access and decisions more than large amounts of time from your staff. Expect to provide:
- Environment access: non-production and production-like accounts, network paths, and the cloud or data center consoles where Fineract runs.
- Architecture decisions: how instances are split, where TLS terminates, which identity provider is used and how tenants are separated.
- A named security owner who can approve configuration and accept residual risk.
- Change windows: restarts, certificate changes and database role changes need agreed times, especially for banking workloads.
Agree these inputs in the scope document so delays are not discovered mid-project.
How long does Fineract security hardening take?
Duration depends on the scope, so no fixed figure applies here. The same drivers that shape effort also set the calendar: instance count, tenant count, integrations, identity provider work and the evidence your compliance team requires. Your approval cycles and change windows also set the pace. Most engagements are fixed-scope, which means the scope, deliverables and timeline are agreed in writing before work starts. Ask any provider for a timeline tied to named deliverables and dependencies, not a generic duration.
What should a fixed-scope quote for Fineract hardening include?
A useful quote lists what is in and out of scope, so you can compare providers on equal terms. It should cover:
- The Fineract instances, tenants, databases and integrations included.
- The controls to be configured and verified, such as credentials, HTTPS, database access, tenant isolation, API exposure and audit logging.
- Identity provider work, if OAuth2 is in scope, and the roles it affects.
- Documentation and evidence delivered, and who owns each artifact.
- Testing performed, retesting after fixes, and the acceptance criteria.
- Operational handover, including who runs the controls after go-live.
- Assumptions about your inputs and the change windows required.
Anything not listed should be treated as excluded until it is written down.
Can a partner confirm that our Fineract deployment is audit ready?
No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations. A hardening engagement can help you assemble configuration records, access settings, logging evidence and test results that your auditors will review. Ask your auditor early which evidence they expect, and confirm the requirements against the relevant regulator guidance or control framework in your own environment.
Do ongoing costs continue after hardening is complete?
Yes. Hardening is largely one-time work, but several parts recur. Credentials and certificates must be rotated, and Fineract releases arrive quarterly, so each upgrade can change configuration and needs a security review. Access reviews, log retention checks and tenant changes also repeat. If you want continuous support or retesting, these are available as retainers, which should be priced separately from the one-time scope. Ask any provider which items recur and how they are charged.
How requests, tenants and instances fit together in a hardened Fineract setup
The diagram starts with clients reaching Fineract only over HTTPS through an edge or load balancer, with OAuth2 tokens issued by an external identity provider. Requests then pass into a private network where the Fineract-Platform-TenantId header selects a tenant, and the write, read and batch instances each carry their own role. The key checks are that only the write instance runs Liquibase migrations, that batch work stays off the read path, and that the tenants database and PostgreSQL replicas sit behind the internal boundary. The optional event broker is shown outside the trust zone so consumers never reach the database directly.
Trust boundaries, tenant routing and instance roles in a hardened Fineract deployment.
How DeployOpen scopes and hands over Fineract hardening work
DeployOpen starts every Fineract hardening engagement with a written, fixed-scope plan that is agreed before any work begins. The plan names the Fineract version in use, the deployment model (write, batch and read instances, the tenants database, the database and any front end), the controls in scope and the evidence to be delivered. Before signing, ask the provider to confirm in writing which of these items are included: credential rotation for the mifos development login and every OAuth2 client, HTTPS enforcement through the FINERACT_SERVER_SSL_ENABLED settings, database role separation, tenant isolation checks, audit log retention and the Mifos X or other front end. Work is carried out inside your own cloud accounts, data centers or air-gapped network, so secrets, logs and customer data never leave your environment.
Testing comes before fixes and fixes come before sign-off. DeployOpen tests the running deployment, including API exposure on the REST endpoints, authentication paths, tenant header handling on each request, PostgreSQL access rights and the configuration of the read, write and batch instances. Each finding is recorded with severity, reproduction steps, the affected setting or code path and a recommended fix. Fixes are applied within the agreed scope, then the same tests are rerun as a retest so you can confirm each item is closed. Findings that need a decision from your team, such as a change to an identity provider or a tenant design, are flagged rather than silently changed.
At handover you receive an evidence pack: configuration baselines, test scripts, the findings register with retest results, and a description of how each control is operated. This pack prepares your compliance and audit teams for their own review, but DeployOpen does not issue audit reports, attestations or certifications, and it does not hold any Apache Software Foundation or Fineract partner status. Hardening drifts after go-live as quarterly Fineract releases arrive and configurations change, so optional retainers cover continuous testing, upgrade support and periodic retests. DeployOpen is a Chainscore Labs company. Ask for retainer terms to be written separately so that the one-time hardening fee and the recurring cost are visible in the quote.

