midPoint security hardening

A midPoint deployment holds credentials for every connected system, so its security depends on how administrators, connectors, audit logs and the repository database are configured. This page covers what to decide, what to build and how to verify it.

On this page

Why midPoint security hardening is a separate project

midPoint security hardening is a configuration and verification project inside your own infrastructure, not a product setting you switch on. An identity governance platform holds privileged credentials for the systems it provisions into, and security reviewers will ask how those credentials, administrator rights, logs and database are protected. Answering that means your team or a partner must configure each control, test it, and keep evidence that it works. The work is done in your cloud accounts, data centers or air-gapped network, against your own connectors and repository.

It is harder than it looks for two reasons. First, midPoint has no enterprise edition: Evolveum states that every line of midPoint code is published under open source licenses, so there is no vendor-supplied hardened profile to enable. Every control, from who may change role assignments to how connector secrets are stored, is a decision your team makes and records. Second, midPoint is an identity management system, not an access management or SSO server, and it does not implement the server side of OAuth2, OpenID Connect or SAML. Login security for its user interface therefore depends on the external SSO service it authenticates against, so the hardening scope has to cover that boundary as well as the platform itself. Confirm the exact integration pattern with your identity team before planning the review.

The project covers four areas: administrator authorizations, connector credentials, the audit trail, and TLS and protection of the repository database. Teams usually need it before go-live, when the first connectors hold live credentials; before an audit or access review, when evidence of these controls is requested; or after a version upgrade, because configuration defaults and Java requirements can change between releases. Check the midPoint releases page for the support window of your current version, since a release nearing end of support is a reason to schedule the review now.

Which midPoint components carry security risk

A midPoint deployment is a set of cooperating parts, and each one holds a different kind of access. The administrative interface, authorizations, connectors, audit trail, repository database and inter-node traffic all need their own controls, because a weakness in one can expose the others.

Administrative user interface and login

The midPoint web console is where administrators configure roles, resources and policies, so it is the most direct route to changing identity data. Confirm how the console authenticates users in your version, whether it uses local accounts or an external SSO provider, and restrict which networks can reach it. midPoint is not an SSO server itself, so the login path needs to be reviewed as a separate control.

Evolveum FAQ

Role-based authorizations

midPoint grants administrators and delegated operators access through roles and authorizations, so a broad administrator role can change assignments for every user. Review which roles can edit resources, object templates and assignments, and keep the number of full administrators small. Document who holds each role and test that delegated operators cannot reach objects outside their scope.

Connector resource configuration

ConnId connectors for LDAP, Active Directory, Microsoft Entra ID through the Graph API and SCIM2 hold service account credentials for each target system. Those credentials are stored in midPoint resource definitions, so restrict who can read or export them and use accounts with the minimum rights the connector needs. Confirm in the documentation for your version how secrets are stored and whether they can be protected outside the configuration file.

Connector docs

Audit and logging subsystem

Audit records show who changed identity data, which assignments were granted and which connector operations ran. Decide where audit events are written, how long they are kept and who can read or delete them, and check that changes to audit configuration are themselves logged. Confirm the audit sinks and retention settings for your release before treating the trail as evidence.

PostgreSQL repository on a separate server

midPoint keeps its repository in PostgreSQL, ideally on a separate database server, and that database holds every identity, role and password-related object midPoint manages. Restrict network access to the database port, use dedicated database accounts with only the privileges midPoint needs, and encrypt connections. Back up the repository and test restores, since the database is the single source of truth for the platform.

System requirements

Inter-node traffic in multi-node deployments

In a cluster, nodes invalidate each other's caches over HTTPS, and a load balancer sits in front of the nodes. Traffic between nodes can carry configuration and identity data, so limit it to the cluster network, use valid TLS certificates and confirm the node-to-node settings in the documentation for your version. Check the load balancer's TLS termination and keep node management interfaces off public networks.

Key hardening decisions by control area

Administrators in midPoint can change almost everything an identity platform controls, so the main decision is how far to split that power. The options in principle are a small set of full administrators, a layered set of narrower roles that limit what each operator can see or change, and a separate break-glass account kept outside day-to-day use. Narrow roles fit organizations with distinct teams for HR integration, connectors and certification. A small set of administrators fits a team of two or three people where separation adds little. Break-glass access needs a named owner, a sealed credential store, a recorded test and an alert whenever it is used.

  • Role separation: Decide which teams may change connectors, role definitions, policies and certification campaigns, and keep those rights apart.
  • Break-glass ownership: Name the people who hold the sealed credential and who approve its use. Test it on a schedule.
  • Credential lifecycle: Set how administrator passwords and any MFA devices are issued, reset and removed when people change roles.
  • Operational cost: Narrow roles need more upkeep, because every new team or system needs its own authorization review.
  • Change tracking: Require a second person to review changes to administrator authorizations.

Before go-live, confirm with Evolveum documentation for your midPoint version how authorizations are modeled and which built-in roles exist, since these details change between releases.

How to harden a midPoint deployment step by step

This sequence takes a midPoint installation from a supported runtime to a reviewed configuration in which administrators are limited, connector secrets are protected, changes are audited and every link carries encrypted traffic. Each step closes with a check the team can repeat after changes.

  1. Confirm supported version and Java runtime

    The platform team checks which midPoint release is in use and whether it is an LTS or feature release, then compares it with the support end dates on the midPoint releases page. Next, they confirm the Java runtime against the system requirements: Java 25 is recommended for 4.11 and later (Java 21 supported), and Java 21 for 4.10 and older (Java 17 supported). Done when the release, its support end date and the JVM version are written into the hardening record and the JVM is on a vendor-supported patch level. Confirm the upgrade path with Evolveum or your partner before continuing, because later steps assume the running version is supported.

  2. Lock down the repository database and its network path

    midPoint uses PostgreSQL as its native repository, ideally on a separate database server. The database team creates a dedicated role for midPoint with only the privileges the installation needs, places the database on a private network segment, and allows connections only from the midPoint application nodes and approved administration hosts. Database backups and any replicas are encrypted and restricted to the same accounts. Check by connecting from an unapproved host and from a midPoint node with the wrong role, and confirming both attempts are refused and logged.

  3. Restrict administrator roles and separate duties

    The identity team reviews every account that holds administrator or superuser-style authorizations in midPoint and removes those not needed for daily work. Routine administration, connector configuration, role model changes and audit review are assigned to different people or roles, so no single account can change a rule, grant itself access and erase the trail. Break-glass accounts are kept separate, documented and monitored. Done when an export of administrator assignments matches the approved list and each named role has a recorded owner. Re-run this review on a fixed schedule set by your governance policy.

  4. Move connector credentials into managed secret handling

    Connector passwords, service account keys and API tokens should not sit in plain configuration files that many people can read. The team identifies every connector configuration that holds a secret, moves the values into the secret store the hosting environment provides (for example a cloud key vault, an orchestrator secret mechanism or a hardware-backed store), and references them from midPoint through the supported indirection mechanism for the connector version in use. Confirm this mechanism for your release in the midPoint documentation. Check by searching the configuration files and repository exports for known secret values and finding none, and by confirming connectors still authenticate after a restart.

  5. Enable and route audit records

    The team turns on midPoint's audit logging for changes to users, roles, assignments, resources and configuration, and decides where the records go. Audit data should be stored in the repository or forwarded to a central log platform that administrators cannot silently edit, with retention set by the organization's policy. Logging of authentication events and administrative actions should be checked against what the security team needs for investigations. Check by making a test change to a non-production user, a role assignment and a connector setting, then confirming each change appears in the audit destination with the actor, time and object recorded.

  6. Enforce TLS on every connector and inter-node link

    Each connector to a target system and each link between midPoint nodes should use encrypted transport. The team lists every endpoint from the connector configurations, including LDAP, Active Directory, SCIM, Microsoft Entra ID through Graph, and database connectors, then enables certificate validation and removes any insecure option. For multi-node deployments, the cache invalidation traffic between nodes runs over HTTPS, so the node certificates must be issued from a trusted internal or public CA and rotated before expiry. Check each connector's test connection with validation enabled and with a deliberately wrong certificate, expecting the second attempt to fail.

  7. Review the result and record the baseline

    A reviewer who did not make the changes walks through the hardening record against the live environment. They confirm the release and runtime, database access rules, administrator list, secret references, audit destination and TLS settings, and log any gap as a tracked item with an owner. The output is a signed baseline that the operations team can compare against after each upgrade, connector change or staff change. Ask a qualified tester to confirm the findings if your policy requires independent verification, and schedule the next review in line with your governance cycle.

What drives hardening effort and how to keep it down

This table compares the factors that expand or shrink a midPoint hardening project, with the effect of each and a practical way to reduce it. Read each row against your own estate: the more connectors, approval paths and evidence obligations you carry, the more of the work below applies to you. The main takeaway is that the biggest savings come from fixing the number of privileged roles and connector protocols early, before configuration grows around them.

DriverHow it raises effortHow to keep it down
Connected target systems and protocolsEach connector needs its own service account, secret handling, TLS configuration and test of certificate validation, and protocols differ in what they can enforce.Limit the first phase to the systems in scope, standardize on fewer connector types, and confirm each connector's TLS options in its documentation.
Administrator roles and approval pathsEvery administrator role needs its own authorization review, and each approval path adds rules that must be tested for bypass.Start from a short list of administrator archetypes, avoid broad superuser assignments, and document each approval path once.
Single node versus multi-node topologyMulti-node deployments add node-to-node communication, shared database access, load balancer session rules and more places where secrets and certificates must be managed.Settle the topology before hardening, keep inter-node traffic on encrypted channels, and test cache invalidation after each change.
Existing secret management and identity sourcesIf credentials sit in configuration files or the team has no vault, every connector and database password needs migration and rotation work.Use the secret store your organization already runs where midPoint can reach it, and confirm how each connector reads its credentials.
Compliance evidence requirementsAssessors may ask for proof of audit logging, access reviews of administrators and configuration change records, each of which must be designed and retained.Agree the evidence list with the auditor before work starts, and map each item to a configuration setting and a retained log source.
Customization of authorizationsCustom roles, object-level restrictions and tailored admin interfaces each need separate testing, and each upgrade can change what they grant.Keep custom authorizations few and documented, and rerun the authorization tests after every midPoint upgrade.

Where the trust boundaries sit in a midPoint deployment

The diagram starts with administrators and users reaching the midPoint web interface through a sticky load balancer, which hands requests to midPoint nodes. Those nodes share one PostgreSQL repository on a separate database server, and every outbound call from the nodes to LDAP, Active Directory, Entra ID and SCIM targets crosses a boundary that needs its own encryption and credential controls. Audit output leaves the nodes toward a separate log store. Check each arrow for whether it is encrypted, which identity it uses, and who can read the secrets stored on the connector side.

Trust zones, hand-offs and the encrypted links recommended for a midPoint deployment.

How hardening differs for single node and multi-node deployments

A single midPoint node on a Linux virtual machine is the simplest model to harden because all application traffic terminates in one place. The main work is protecting the host, the midPoint configuration directory and the connection to a PostgreSQL repository that is ideally on a separate database server. Because there is no node-to-node traffic, the attack surface is mostly the administrator interface, the connector connections and the database link.

  • Host access: Restrict SSH to named administrators, and limit who can read the midPoint configuration files that hold repository and connector credentials.
  • Repository link: Use a dedicated database account with only the privileges midPoint needs, and require encrypted connections from the application host to the database server.
  • Administrator interface: Put the web interface behind TLS and restrict network access to administrator networks or a reverse proxy.
  • Single point of failure: Plan encrypted, tested backups of the database and configuration, since no other node can take over.

Confirm with the vendor documentation which configuration files and keys contain secrets in your release, and which file permissions it expects.

Access control and secrets handling to put in place

These six controls cover who can change midPoint, which identities midPoint uses to reach target systems, where secrets can leak, and how the database and audit trail hold up under review. Each one needs a named owner and a check that you can repeat after every upgrade.

Least-privilege administrator roles

Replace broad administrator access with roles scoped to the work each person does, such as reviewing certification campaigns, editing role definitions or managing connectors. Keep the superuser account out of daily use and separate the people who define policy from the people who approve their own changes. Confirm in your own environment which role model midPoint's authorization configuration produces for each job, and test that a non-admin user cannot reach the configuration screens.

midPoint releases

Minimal connector service accounts

Each connector should authenticate to its target system with a dedicated service account that holds only the permissions needed for the provisioning actions midPoint performs. Grant rights per object type and operation, not domain administrator or root rights, and document which target operations the account must perform. Ask the target system owner to confirm that deletion and password reset rights are granted only where your lifecycle rules require them.

Credentials out of exports and logs

Configuration exports, support bundles and log files can carry connector settings and sensitive values if they are not reviewed. Store connector passwords in a protected location rather than in plain object definitions, and check that exported XML or JSON objects and debug logs are redacted before they leave the platform. Confirm with your deployment team how secrets are injected at startup and who can read the server configuration files.

Audit record integrity and retention

midPoint's audit records show who changed roles, approvals and account data, so they must survive administrator changes and be kept for as long as your policies and regulators require. Decide where audit records are stored, who can read them, and whether administrators can delete or alter them. Confirm the retention settings in your version's documentation and test that a change made in the interface appears in the audit trail.

Encrypted database connections and restricted roles

midPoint uses PostgreSQL as its native repository, usually on a separate database server. Require encrypted connections between the application nodes and the database, and give midPoint's database user only the privileges it needs for its schema, not superuser or database owner rights. Keep the backup and restore path under the same access rules, and ask your database team to confirm how client certificates or password policies are enforced.

System requirements

Certificate validation for every target

Each connector that talks to a directory, SaaS API or database must validate the target's TLS certificate against a trusted authority, including internal certificate authorities. Disabling validation to get a connection working is a common shortcut that exposes credentials in transit. Test each connector against its real endpoint with validation turned on, and confirm that your trust store is updated when certificates rotate.

How to verify that midPoint hardening works and fails safely

Verification means proving that each control denies, logs or stops the way you designed it, and the first test is the one most teams skip: sign in with a restricted administrator account and attempt privileged actions, such as changing a resource configuration, editing a role that grants access, or running a reconciliation task outside that account's authorizations. Each attempt should be refused, and the refusal should appear in the audit trail. Repeat the test for every administrative role you created, because an authorization that looks narrow on paper often turns out to allow a related object type. Keep the results in a dated test record so you can show the same checks passing after each upgrade.

Next, test the failure paths for credentials and certificates. Force a connector to fail, for example by pointing a target resource at a wrong host or entering a wrong bind password, then search the midPoint logs, the task output and any connector diagnostics for the password, the secret value and the connection string. Credentials should not appear in clear text. For TLS, point a connector at a target that presents an untrusted or self-signed certificate that is not in your trust store, and confirm the connection is refused rather than accepted with validation turned off. Confirm the exact settings with the connector documentation for your version, since the options for certificate handling differ between connectors. Plan a repeat of these checks whenever you rotate a service account or renew a certificate.

Finally, simulate infrastructure failure. Stop the repository database during a synchronization run and confirm that midPoint stops affected tasks, reports the error and does not leave half-applied changes that cannot be reconciled. In a multi-node setup, take one node offline and confirm the sticky load balancer and remaining nodes keep the service consistent, with no duplicate task execution. Then check the audit records for administrative changes made just before the failure. Because outcomes depend on your database configuration and node layout, treat these scenarios as a checklist to run in your own environment. Many organizations also ask an independent tester to review the configuration and attempt these bypasses, which gives auditors evidence that the controls were challenged by someone other than the team that built them.

What to monitor, back up and document after hardening

This table lists the recurring checks that keep a midPoint hardening baseline true after go-live, with the evidence each one should produce. Read each row as a control with an owner, a cadence you set, and an artifact an assessor can inspect. The main takeaway is that hardening decays without routine review, so the baseline document and the upgrade checklist matter as much as the initial configuration.

Ongoing itemWhat to doEvidence to keep
Administrator role assignmentsReview who holds administrator and superuser-type roles in midPoint, and confirm each assignment still has a business owner and an approved reason.Dated review record, list of changes since last review, approver sign-off
Connector and certificate rotationRotate service account passwords, API tokens and TLS certificates used by connectors on a schedule you set and record in the baseline.Rotation calendar, change tickets, confirmation that old credentials no longer authenticate
Audit log review and retentionCheck that audit records of configuration changes and resource operations are being written, and that retention matches your policy and legal hold needs.Retention settings, sample review log, retention schedule signed by data owner
Database backups and restore testsConfirm backups of the PostgreSQL repository run and restore into a separate environment, then verify midPoint starts against the restored data.Backup job logs, restore test report, recorded recovery timing
Configuration review after each upgradeCompare configuration, connector versions and security-relevant settings against the release notes for the target midPoint version before cutover.Upgrade checklist, diff of configuration, release notes reviewed, test sign-off
Hardening baseline documentMaintain one document listing authorizations, secret storage, TLS settings, audit configuration and database protections, updated with each change.Versioned baseline, change history, links to the evidence for each control

Questions teams ask before hardening midPoint

How much effort does hardening a midPoint deployment take?

Effort depends mostly on how much of the deployment already exists and how many systems it touches, so no fixed figure applies. The main drivers are the number of connectors and target systems, how many administrator roles and delegations need redesign, whether connector credentials are stored in plain configuration today, how the repository database is hosted and backed up, and whether audit records are already retained somewhere outside midPoint. A deployment with one HR source and two directories is a very different job from a multi-node cluster feeding a dozen targets. Ask any partner for a written scope that lists each area in this topic, the systems in scope, and the test environment used for verification before you compare quotes.

Can our internal identity team harden midPoint without a partner?

Yes, a team with Java, PostgreSQL and directory experience can do much of this work, provided it has time and a non-production copy to test against. The areas are well defined: review administrator authorizations, move connector secrets out of plain configuration, configure audit trail retention, enforce TLS on every connector, and restrict database access. The harder parts are usually the ones teams underestimate, such as proving that a change did not break provisioning for a target system. Check your team's capacity for testing and change windows, and confirm current configuration options against the midPoint system requirements and the Evolveum documentation for your release before making changes.

What does hardening need from our side?

Hardening needs named owners, access, test systems and agreed change windows. Expect to provide administrative access to the midPoint application server, the PostgreSQL database and the connector hosts, plus accounts with the minimum rights needed for each target system so tests run against realistic permissions. You also need an owner for each target system who can confirm expected behavior, an owner for audit and log retention who states the period your policy requires, and a security contact who approves changes to administrator roles. A non-production environment that mirrors production connectors is strongly advisable, because changing TLS or credential storage can stop provisioning if a connector is misconfigured. Agree the change windows in advance, since restarts and connector reconnects affect running tasks.

How do Evolveum support subscriptions relate to security configuration?

Evolveum support subscriptions cover resolving product bugs, with an 8x5 next-business-day or 24x7 SLA depending on the tier, according to the Evolveum support subscriptions page. Platform Subscriptions add feature development and roadmap influence. Neither type replaces the configuration work itself: choosing which administrators hold which authorizations, deciding where connector secrets live, setting audit retention, and securing the database are decisions your organization or its implementation partner must make and verify. A bug fix from Evolveum can help if a security-relevant defect is found, but it does not design your role model or check your target systems. Ask Evolveum which subscription tier and SLA apply to your deployment, and confirm the current prices directly with them, since the page does not list them.

Does midPoint handle SSO and login security itself?

No. Evolveum states that midPoint is an identity management system, not an access management or SSO server, and it does not implement the server side of OAuth2, OpenID Connect or SAML, according to the Evolveum FAQ. Its own user interface can authenticate against external SSO services, so login security depends on that external provider's configuration as well as midPoint's. Hardening therefore covers both sides: confirm that the interface only accepts the intended identity provider, that local fallback accounts are controlled, and that session and administrator access are restricted. Verify the specific authentication options available in your release with Evolveum's documentation before relying on them.

How should hardening change after a midPoint upgrade?

Treat every upgrade as a reason to repeat the hardening checks, because new releases can change defaults, configuration structure and connector behavior. The midPoint releases page lists support end dates for each line, so first confirm that your target version is still supported and check whether the new release requires a different Java version; the system requirements list the supported Java versions for each release line. After the upgrade, rerun the authorization review, confirm that connector secrets and TLS settings still apply, check that audit records are still written and retained, and test the database backup restore. Build these checks into the upgrade runbook so they are performed each time, not only at the first deployment.

What evidence should we keep to show midPoint is hardened?

Keep dated records of each control: the list of administrator roles and who holds them, the configuration showing how connector credentials are stored, the TLS settings for each target system, the audit retention settings, and the results of restore tests for the repository database. These records help internal reviewers and external auditors understand what changed and when. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications; independent auditors and certification bodies perform those assessments. Ask your auditor which evidence format they expect before you collect it.

How DeployOpen scopes, hardens and hands over midPoint security work

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so midPoint security work happens in the environment the client controls. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Inventory midPoint administrator roles, authorizations and who can change connector or resource configuration today.
  • Map every connector, its service account and where its credentials and secrets are stored in your environment.
  • Agree in writing which audit, TLS and repository database controls are in scope, and which systems stay out.

How we build

  • Restrict administrator authorizations to least privilege and separate duties for configuration, approvals and certification.
  • Move connector credentials and secrets out of plain configuration, and document rotation steps for each target system.
  • Configure audit trail retention, enforce TLS to target systems, and restrict network and access paths to the PostgreSQL repository.

How we hand over

  • Deliver a written hardening record listing each control, its configuration location and the evidence that shows it is in place.
  • Provide test results and a retest of the administrator, credential, audit and TLS checks against the agreed scope.
  • Walk your security and identity teams through the runbook for secret rotation, audit review and database access changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so hardening keeps pace with midPoint releases.
  • Re-check hardening settings after each midPoint upgrade or connector change, since those can alter permissions and defaults.
  • Confirm with Evolveum which support subscription level fits your operating model, and plan that alongside any partner support.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.