Migrating from FreeIPA to Keycloak

Most teams moving from FreeIPA to Keycloak are moving application sign-on, while Kerberos, host policy and certificates often stay on Linux. This page sets out what maps, which import paths are documented, and what drives the effort.

On this page

What a FreeIPA to Keycloak migration involves and what sets the effort

A FreeIPA to Keycloak move usually splits identity into two jobs. Keycloak takes browser and API sign-on over OpenID Connect and SAML, while FreeIPA's MIT Kerberos KDC, host-based access control, sudo rules and Dogtag certificate authority may stay in place for Linux hosts and services. Keycloak can also federate users from an LDAP or Active Directory directory, so the 389 Directory Server behind FreeIPA can remain the user store while Keycloak fronts the applications. Confirm that this works with your FreeIPA schema, groups and password policy in a test before you commit to it, because the answer decides whether user accounts move at all and which system stays authoritative for passwords and group membership.

The short answer on effort depends on three things: how many relying applications sign on through FreeIPA today, how many Kerberos and LDAP bind dependencies sit beneath them, and whether FreeIPA stays in the picture after cutover. Each application needs a Keycloak client, a protocol choice (OIDC or SAML), and a login test that covers any service account binding to the directory and any service that accepts Kerberos tickets through a keytab. Applications that only read directory groups are often the simplest to move. Each Kerberos consumer adds a check of its own. The Keycloak administration guide documents Kerberos alongside LDAP federation, but how those features behave with your keytabs and SSSD setup is a question to settle in testing.

Ask for a written scope before discussing timing, because no duration can be fixed until an inventory exists. The scope should list applications and protocols, bind accounts, keytabs and enrolled hosts, certificate profiles issued by Dogtag, OTP tokens and the backup plan. FreeIPA's backup and restore guidance warns that restoring an outdated backup into an active replica topology can break replication, and that the first server handles certificate renewal and CRL publication by default, so both need a named owner. On the Keycloak side, confirm the production database (PostgreSQL 14 to 18 is supported) and the high availability design, which needs a synchronously replicated database. Ask the implementer to name what is retired, what stays and the fallback if an application fails at cutover.

Why teams move from FreeIPA to Keycloak

Keeping FreeIPA for Linux identity is often sound. Teams add or move application SSO to Keycloak for four reasons, each tied to a condition: web protocols for SaaS and internal apps, one server for application sign-on, a frequent release rhythm, and licensing that rarely decides the matter on its own.

OIDC and SAML for SaaS apps

FreeIPA's single sign-on runs on the MIT Kerberos KDC, and most browser-based SaaS products and internal web apps do not consume Kerberos tickets directly. Keycloak speaks OpenID Connect, OAuth 2.0 and SAML 2.0, so each app registers as a client and signs users in over a standard protocol. This matters when vendors ask for SAML metadata or OIDC client settings. Keycloak can still read accounts from FreeIPA's LDAP directory. Check which protocol and claims each app expects, and confirm that its logout behavior fits your session policy.

Keycloak admin guide

One server for application SSO

In many estates, each application ends up with its own login setup: a Kerberos keytab in one place, an LDAP bind in another, a SAML configuration somewhere else. Keycloak consolidates those into one server with one realm, one place to set MFA and session limits, and one brokering configuration to an external identity provider. This applies when you run more than a few sign-on integrations or when several teams each maintain their own. The trade is that Keycloak becomes critical infrastructure, and both supported high availability designs need a synchronously replicated database, so settle that before cutover. FreeIPA stays useful for Linux host policy, sudo rules and certificates.

Keycloak database guide

Release cadence and opt-in breaking changes

Since Keycloak 26.0, the project has planned four minor releases a year and a major release every two to three years. It says breaking changes in a minor release will be opt-in, and the current release is 26.8.1. The 26.8 notes enforce SMTP StartTLS without plaintext fallback and require signature validation of backchannel logout tokens from external providers, so mail and logout flows need testing. FreeIPA needs the same discipline: 4.13.4, dated July 9, 2026, was a stabilization release that fixed two CVEs. Confirm who owns upgrades and how often you can test them.

Keycloak release updates

Licensing rarely forces the move

Both projects are open source: FreeIPA is GPL-3.0-or-later and Keycloak is Apache-2.0. FreeIPA has no paid edition of its own, so the license alone is rarely the trigger. Support is where the choice shows up. Red Hat ships a supported Keycloak distribution, and FreeIPA is packaged as Identity Management in Red Hat Enterprise Linux and in Fedora, Debian and CentOS. Confirm the support window for your FreeIPA packaging with your distribution before you set a cutover date.

FreeIPA downloads

What maps cleanly from FreeIPA to Keycloak and what does not

This table sets each FreeIPA capability against its Keycloak path and the migration note that goes with it. Rows that say to confirm depend on your directory schema, client types and database design, so check them in your own environment before planning cutover. The main takeaway is that users, groups and single sign-on can move toward Keycloak, while certificates, host policy, DNS, NTP and backups stay in the FreeIPA or database operating model.

CapabilityKeycloak pathMigration note
Users and groups (389 Directory Server)LDAP user federation reads the directory, with attribute and group mapping.Maps cleanly for user reads. Confirm attribute and group mapping, and where passwords are checked, before cutover.
Kerberos single sign-on (MIT KDC)Kerberos support is documented in the Keycloak server administration guide.Confirm that your existing SPNEGO flow and keytab handling work with Keycloak before moving any client.
HOTP and TOTP tokensOne-time password credentials in Keycloak, with supported types to confirm for your version.Plan re-enrollment as the default. Confirm whether seed transfer is possible before promising users a silent move.
Dogtag certificatesKeycloak is not a certificate authority, so this stays on existing PKI.Keep Dogtag running. Confirm which renewal and CRL duties must move or stay with the first server.
sudo and HBAC rulesStay on hosts. Keycloak does not enforce sudo or host-based access rules.Keep these rules on enrolled hosts. Confirm how your team will manage them after the directory changes.
DNS and NTPStay on existing servers, outside the Keycloak scope.Keep resolvers and time sources in place. Confirm that clients still resolve the Keycloak hostname after cutover.
AD trustReplaced by federation from Keycloak to the AD domain through LDAP.The cross-forest trust does not carry over. Confirm which AD users and groups the federation must cover.
Multi-master replication (389 Directory Server)Keycloak high availability uses a synchronously replicated database.Directory replication does not carry over. Confirm your database replication and cluster design before go-live.
ipa-backupKeycloak state sits in its relational database, so back up that database.ipa-backup does not restore into Keycloak. Confirm database backup, restore tests and retention in your environment.

Documented import paths from FreeIPA into Keycloak

Each path below covers one part of the move from FreeIPA, and the Keycloak documentation sets the limits for each. Treat the four documented routes as scopes to confirm, and the fifth card as a warning about tools that never reach Keycloak. Check every route against the versions you run before you put it in a cutover plan.

Keycloak LDAP and Active Directory federation

Keycloak's LDAP and Active Directory user federation reads users from an existing directory, so FreeIPA accounts can sign in to Keycloak-protected applications while FreeIPA stays the directory. Read and sync settings decide what Keycloak sees and when it sees it. Confirm those settings, along with group and attribute mapping, in the server administration guide before you design the cutover. The answers show whether FreeIPA remains the source for identities after go-live, which shapes every later step.

Server admin guide

Keycloak Kerberos support

Keycloak documents Kerberos support, which matters in FreeIPA estates because those users already sign on with Kerberos tickets issued by the MIT KDC. Confirm the SPNEGO setup for existing sign-on before you promise users that desktop and browser logins carry over. Check which browsers, clients and hosts are in scope, how the Keycloak service principal and keytab are managed, and whether Kerberos is a bridge during transition or a lasting part of the design.

KeycloakRealmImport in the Operator

The Keycloak Operator for Kubernetes and OpenShift manages a KeycloakRealmImport custom resource that imports realm definitions into Keycloak. Use it when the target runs on Kubernetes and you already hold realm definitions to load. Confirm the export format and whether users come with the realm before you assume accounts move this way. Install the Operator through Operator Lifecycle Manager, which Keycloak recommends. The Operator documentation strongly recommends manual approval mode for updates, so upgrades happen when your team decides.

Operator installation guide

ipa-backup as a rollback point

ipa-backup and ipa-restore take full or online data-only backups of a FreeIPA deployment. It does not import anything into Keycloak. Its role in this project is a rollback point if the cutover fails, and its value depends on the backup being recent. FreeIPA's backup notes warn that restoring an outdated backup into an active replica topology can break replication, so map your replica layout before you schedule any restore. Confirm which server handles certificate renewal and CRL publication by default.

FreeIPA backup notes

FreeIPA migration tools

ipa migrate-ds moves users and groups from other LDAP servers into FreeIPA, leaves out Kerberos attributes that FreeIPA regenerates, and needs manual LDIF work for sudo and HBAC rules. ipa-migrate moves users, groups, certificates, OTP tokens and policies between two FreeIPA deployments. Neither tool targets Keycloak, so a team that reads them as a Keycloak path will plan for the wrong destination. Confirm with the Keycloak documentation whether passwords, Kerberos keys and OTP seeds can move before you plan for them.

Migration how-to

FreeIPA to Keycloak migration sequence, from inventory to decommission

The sequence moves sign-on for each application from FreeIPA to Keycloak in controlled stages, so every relying application has a tested path, a rollback option and verified backups before the old sign-on function is retired. The same phases apply whether FreeIPA stays in place for Linux identity or is retired entirely.

  1. Inventory applications, protocols and dependencies

    Your identity team and application owners list every application that signs users in through FreeIPA. For each one, record the protocol (LDAP bind, Kerberos, SAML, OIDC or a reverse proxy), the service accounts that bind to the directory, and any host or service that depends on Kerberos tickets or keytabs. Assign an owner and a target protocol to each entry, and flag vendor-managed applications whose sign-on settings you cannot change. The step is done when every item has an owner and target, and the bind account and Kerberos lists are separate, so no keytab surfaces during cutover.

  2. Build non-production Keycloak with LDAP federation

    DeployOpen or your platform team builds a non-production Keycloak on a supported production database, such as PostgreSQL 14 to 18, since the default dev-file database is for development only. Configure LDAP user federation against a FreeIPA replica so test reads stay off the server that handles certificate renewal and CRL publication by default. Decide, and test, which Kerberos sign-on paths move to Keycloak and which stay on the FreeIPA KDC. The step is done when test users and groups resolve from the replica, the automatic schema migration at startup completes, and the build can be recreated from versioned configuration.

  3. Pilot a small application group with MFA

    Move a small group of applications, chosen from the inventory for mixed protocols and low business risk, to Keycloak. Enroll pilot users in MFA, and decide whether existing FreeIPA OTP tokens (HOTP or TOTP, including software tokens and hardware tokens such as YubiKeys) are re-enrolled in Keycloak or verified another way, then test that choice. Include the help desk so recovery steps for lost devices are rehearsed. The step is done when pilot users sign in with MFA, lost-device recovery works, and the security team has signed off the enrollment and recovery procedure.

  4. Run both sign-on paths in parallel

    Keep FreeIPA sign-on and Keycloak sign-on live together for each pilot application, so users can use either path while you compare them. Test login, group-to-role mapping and logout on both paths, and check that the groups a user receives from Keycloak match what the application expects from FreeIPA. Record each difference, including any session that survives logout on one path. The step is done when the test matrix for login, group mapping and logout passes on both paths for every pilot application, and each difference has an owner and a fix.

  5. Cut over each application with a rollback path

    Move applications one at a time, each with a written rollback path that restores its previous FreeIPA sign-on configuration and can be carried out by the application owner. Keep the FreeIPA route available until the application has signed in cleanly through Keycloak, and record the observation window in the written scope. Rehearse the rollback in a test environment before production. The step is done when every application signs in through Keycloak, the rollback has been exercised, and the owner has signed off.

  6. Decommission FreeIPA sign-on after backup verification

    Retire the FreeIPA sign-on function only after the inventory shows no relying application still binding or authenticating against it, and after backups are verified. Take a full backup with ipa-backup, then restore it into an isolated test environment, because FreeIPA's backup and restore guidance warns that restoring an outdated backup into an active replica topology can break replication. If FreeIPA stays for Linux identity, only the application sign-on function retires, while Kerberos, host policies and certificates keep running. The step is done when a restore test succeeds, the inventory has zero remaining dependencies, and the decommission is recorded.

Effort drivers in a FreeIPA to Keycloak migration

This table lists the drivers that most change the effort of moving from FreeIPA to Keycloak, with what raises or lowers each one and what to request in a written quote. Read each row against your own estate, because an inventory of relying applications, hosts, bind accounts and OTP users will size most of the work. The database and high availability choice shapes the plan early, so settle it in the written scope before cutover dates are set.

DriverWhat raises or lowers effortWhat to ask for in a written quote
Relying applications and protocolsEffort rises with each application, each protocol and each custom integration. Lowers when most apps already speak OIDC or SAML.Per-application inventory with protocol, client type, owner, and which apps will be migrated, reconfigured or retested.
Kerberos, LDAP bind and AD trust dependenciesLowers when apps use OIDC or SAML. Rises when services bind to LDAP, depend on Kerberos tickets or use keytabs, or cross an AD trust.Inventory of each bind account, service principal, keytab and AD trust path, with the replacement or retained route for each.
Sudo and HBAC rules on hostsManual LDIF migration for sudo and HBAC rules. Effort grows with rule count, host groups and the number of hosts they apply to.Export of every sudo and HBAC rule with host scope, where host policy will live after cutover, and who tests and signs off each rule.
OTP enrollment volumeTokens may not carry over to Keycloak. Effort rises with user count, hardware token mix and any RADIUS proxy dependency.Which token types can move, the re-enrollment plan, expected help-desk load and the fallback for users who lose a device.
Database and high availability choicePostgreSQL 14 to 18 is supported. Both supported HA designs need a synchronously replicated database that must be built and failover-tested.Database version, replication topology, failover test results, backup approach and who operates the database after cutover.
Operator or virtual machine routeOperator installs through Operator Lifecycle Manager or kubectl and adds cluster operations. A VM route adds OS, service and load balancer management.Target platform, who installs and upgrades Keycloak, the operator update approval mode, and whether the database is in scope.
Team skills in OIDC, LDAP and FreeIPA operationsLowers when staff already run OIDC clients, LDAP and FreeIPA. Rises when the team is new to Keycloak realms or Kerberos federation.Named roles, training or pairing included, and which tasks the implementer handles versus your staff after handover.
Length of the parallel runLonger runs keep two directories in sync and double support work. Lowers when the cutover window and rollback plan are settled early.Parallel run length in the written plan, the sync method for passwords and groups, and the rollback criteria at each stage.
Compliance evidence needsRises when assessors need access reviews, change records and log evidence from both systems. Lowers when controls map to logs you already keep.Evidence list per control, who prepares it and who reviews it. Independent auditors issue any attestation or certification.

What usually goes wrong in a FreeIPA to Keycloak migration and how to prevent it

Most failures in this migration come from assuming FreeIPA's work moves on its own. The six risks below share one root cause: FreeIPA carries backups, certificate duties, credentials and authorization rules that Keycloak does not take over automatically. Check each one before the cutover window, not after users report failed logins.

Restoring an outdated backup

FreeIPA provides ipa-backup and ipa-restore, with full backups or online data-only backups, but a restore is not a neutral rollback. Restoring an outdated backup into an active replica topology can break replication between servers that already hold newer data. Before any restore, confirm the backup is current, check how replicas are connected, and follow FreeIPA's restore guidance step by step. Rehearse the restore in a non-production copy of your topology and record which backup you used.

Backup and restore guide

First server keeps CA duties

By default, the first FreeIPA server handles certificate renewal and CRL publication, so the host you plan to decommission may still be doing work that clients and services depend on. Before you power that host down, confirm which server holds these duties, move them to a server you are keeping, and verify that renewals and CRL publication continue from the new location. FreeIPA's deployment recommendations also call for at least one replica per datacenter running PKI when PKI is in use. Tell the certificate owners where renewals now happen.

Deployment recommendations

Assuming keys and seeds move

Teams often assume Kerberos keys and OTP seeds travel with users and groups. FreeIPA's migration how-to excludes Kerberos attributes that FreeIPA regenerates, so Kerberos keys do not simply copy across. The ipa-migrate tool moves OTP tokens between two FreeIPA deployments, which does not show how seeds would reach Keycloak. Confirm this first for each credential type: whether it moves, is regenerated, or must be re-enrolled. Then plan password resets and MFA re-enrollment before cutover.

FreeIPA migration how-to

Operator updates need approval

If you run Keycloak on Kubernetes or OpenShift with the Keycloak Operator, upgrades can arrive outside any planned window. The Keycloak Operator documentation strongly recommends manual approval mode to avoid unintended automatic upgrades. Confirm the approval setting in Operator Lifecycle Manager, the installation method Keycloak recommends, or in your kubectl-based process. Schedule each upgrade only after you have read the release notes for the target version and rehearsed the migration in staging.

Keycloak Operator installation

Keycloak 26.8 mail and logout

Keycloak 26.8 enforces SMTP StartTLS without plaintext fallback, so a mail relay that accepted unencrypted sessions can break password reset and verification emails after the upgrade. The release also makes mandatory signature validation of backchannel logout tokens from external providers, which can break single logout for brokered logins if those tokens do not validate. Test both flows against your production relay and each brokered identity provider before cutover. Review the 26.8 upgrade notes for the full list of changes.

Release updates policy

Sudo and HBAC left behind

Sudo rules and host-based access control (HBAC) rules sit in FreeIPA outside the sign-on path. A successful Keycloak login can therefore look like a clean cutover while Linux hosts still enforce the old policy. The FreeIPA migration how-to notes that sudo and HBAC rules need manual migration through LDIF. Inventory every rule before cutover, decide where each one is enforced after cutover, and recreate it there. Test privileged commands and host logins on each server class, and name an owner for each rule set.

How sign-on flows during the parallel run

The diagram starts at FreeIPA, where the 389 Directory Server holds users and groups and the MIT Kerberos KDC issues tickets. Keycloak reads that directory through LDAP federation and stores its configuration and session state in its own database, which sits inside the client's network boundary. Keycloak then issues OIDC and SAML tokens to relying applications. Linux hosts keep signing in through SSSD against FreeIPA, so the directory serves both paths. The dashed Kerberos route for legacy applications stays live during the parallel run and is retired at cutover. Check that each legacy application has a token-based replacement, and confirm which components cross the boundary.

Sign-on paths during the parallel run, with the legacy Kerberos route marked for retirement.

Should FreeIPA stay for Linux hosts after the FreeIPA to Keycloak move?

For most estates with Linux hosts, the practical answer is to keep FreeIPA for the host layer and move only application sign-on to Keycloak. FreeIPA already runs what Linux administrators depend on: 389 Directory Server for users, groups, hosts and policies, sudo and HBAC rules, the MIT Kerberos KDC behind Linux single sign-on, integrated DNS and NTP, and the Dogtag certificate authority. Keycloak's documented features cover OpenID Connect, OAuth 2.0 and SAML 2.0 for applications, plus LDAP user federation, which lets it read the users FreeIPA already maintains. Under the split, enrollment, host policy and certificates stay where they run today, while web and SaaS logins move to Keycloak. Before you commit, confirm with the Keycloak documentation and your own tests that none of the host controls you rely on are expected to come from Keycloak.

Keeping FreeIPA is the stronger choice when the host estate is large enough that per-host policy must be managed centrally, when sudo or HBAC rules are in daily use, when services or hosts get certificates from Dogtag, or when an Active Directory forest must reach Linux resources through a FreeIPA AD trust. Full retirement fits a smaller Linux fleet with few sudo or HBAC rules, certificates issued by another CA and no AD trust. Where the line falls for host count is for you to set, so measure it: export every sudo and HBAC rule, count the hosts each one applies to, and list each certificate workflow with its issuer. The FreeIPA migration how-to notes that sudo and HBAC rules need manual migration through LDIF, so that work is needed on either path. If you keep an AD trust, also confirm that the IPA DNS domain does not overlap any domain in the AD forest.

Full retirement is safe only when every FreeIPA role that the mapping table on this page shows does not move has a named replacement, an owner and a passing test. Work through the list role by role: host enrollment and account policy, sudo, HBAC, DNS and NTP, Kerberos logins for Linux, Dogtag certificate issuance, OTP tokens and any RADIUS proxy. Certificate duties need particular care, because FreeIPA's backup documentation says the first server handles certificate renewal and CRL publication by default, so name the new owner of those duties before that server is removed. Where PKI or DNS services run on replicas, retire those replicas in a planned order so replication keeps working. Take an ipa-backup before any change, and keep FreeIPA in service until the replacements pass cutover tests.

Questions buyers ask before a FreeIPA to Keycloak migration

How much does a FreeIPA to Keycloak migration cost and what drives it?

Cost is set by the written scope, the client's internal staff time and the infrastructure the client runs. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so the quote follows from that document. The cost components are:

  • Fixed scope: planning, integration, cutover support, testing and documentation, agreed in writing as one defined engagement.
  • Client staff time: directory, application and security owners who answer questions, approve change windows and test each relying application.
  • Infrastructure: Keycloak hosts or a Kubernetes cluster, a production relational database, load balancing and the FreeIPA servers that stay in service during the transition.

Scope work is one-time, while running Keycloak, patching, backups and upgrades recur. DeployOpen does not publish a price list. Ask for a quote that lists each deliverable, the applications assumed in scope, who runs backups and the process for handling scope changes.

How long does a FreeIPA to Keycloak migration take to complete?

The written scope sets the timeline, and no duration applies until that scope is agreed. Timing depends on how many applications and clients rely on FreeIPA, which of them use LDAP binds, Kerberos or host-based policy, how many login flows need retesting and how many change windows the business can offer. Ask the scope document for named milestones: discovery and inventory, a pilot application, the cutover plan, the cutover window and a support period after cutover. Confirm which team owns each dependency, including application owners and the people who run the FreeIPA servers. Also plan Keycloak upgrades from the start. The project plans four minor releases a year, so the version chosen at kickoff will need a documented upgrade path.

Can our own team migrate from FreeIPA to Keycloak without a partner?

A capable team can do it alone, but the work needs skills in four areas at once. OIDC and OAuth 2.0 cover client registration, redirect rules, token lifetimes and claims for each application. LDAP covers directory structure, bind accounts and user federation. Relational database operations cover the production store, backups and schema upgrades. Kubernetes or virtual machine operations cover running Keycloak nodes, load balancing and patching. If Linux hosts depend on FreeIPA, Kerberos and FreeIPA host policy (sudo, host-based access control and certificates) are also needed. Assign each skill to a named person before signing a scope. Ask any implementation partner which runbooks and handover documents they will produce and which tasks your staff will perform under supervision.

What do we need to provide before a FreeIPA to Keycloak migration starts?

The client supplies access, an inventory and decisions before work starts. The main inputs are:

  • Replica access: a recent backup or read access to a FreeIPA replica, plus the topology, since the first server handles certificate renewal and CRL publication by default.
  • Application inventory: each relying application, its protocol (OIDC, SAML, LDAP bind or Kerberos), its owner and a test account.
  • Change windows: dates when application owners and operations staff accept login interruptions.
  • MFA decisions: whether existing HOTP or TOTP devices stay, move or are replaced, and who approves that choice.

Also name the database owner and the approver for cutover. Applications nobody listed tend to surface during testing, when they cost the most to fix, so a complete inventory protects the schedule. Check the replica and backup details against the FreeIPA backup documentation before the team touches production.

Do passwords and MFA tokens move from FreeIPA to Keycloak automatically?

Not automatically, and the answer must be confirmed against your own data before cutover. FreeIPA's tooling moves OTP tokens between two FreeIPA deployments, which does not establish a path into Keycloak. Until the vendor documentation confirms what Keycloak can import, including password hashes, Kerberos keys and OTP secrets, plan for MFA re-enrollment and a supported help desk reset process. Check the exact import behavior in the Keycloak server administration guide. Test one account end to end in a staging realm before deciding. Two patterns are worth evaluating: keep FreeIPA as the credential store and federate Keycloak to its LDAP directory, or re-enroll users in Keycloak with a new second factor. Each option changes user communication, help desk load and the audit evidence you need, so record the decision and its owner.

Do we have to retire FreeIPA after moving applications to Keycloak?

Not necessarily. A split is a viable outcome to evaluate: FreeIPA stays for Linux host identity, Kerberos, sudo and host-based access rules, certificates and DNS, while Keycloak handles web single sign-on for applications and federates users from FreeIPA's LDAP directory. Retirement only becomes sensible once Linux logins, SSSD clients, certificate issuance and Kerberos authentication have moved elsewhere, and each of those moves is its own project. The FreeIPA migration how-to describes sudo and HBAC rules as needing manual LDIF handling when moving into FreeIPA, so confirm the export path for them before any decommission. Keep backups and a rollback path until the split has run stably, and record which systems depend on each service so support, certificate and access owners know where to look.

How DeployOpen scopes and runs a FreeIPA to Keycloak migration

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For a FreeIPA to Keycloak move, that means agreeing the scope of identities, applications and cutover in writing before work starts, then running the migration in your environment with the documentation and support your compliance team needs.

How we scope

  • The written scope states which FreeIPA users, groups and applications move to Keycloak, and which stay in FreeIPA.
  • We inventory FreeIPA dependencies on Kerberos, Dogtag certificates and host policies, and which stay in place.
  • Fixed-scope terms, deliverables and timelines are agreed in writing before work starts; ongoing support is a separate retainer.

How we build

  • We build Keycloak on a supported production database, such as PostgreSQL 14 to 18.
  • We connect Keycloak to FreeIPA through LDAP user federation, then move applications to OIDC or SAML clients.
  • Sudo rules, HBAC rules and OTP tokens need separate mapping, confirmed by test before cutover.

How we hand over

  • Handover covers the agreed documentation, configuration records and runbooks for the Keycloak realms and federation settings.
  • A rollback path is documented for the FreeIPA side, including the backup state taken before cutover.
  • Parallel running and cutover steps are written down, with the owner and the sign-off each step needs.

How we support

  • Retainers cover Keycloak upgrades, reviewing each release's upgrade notes before rollout to your environment.
  • Keycloak plans four minor releases a year, so upgrades need a standing calendar and regression tests.
  • Continuous security testing of the migrated login flows is available as a retainer, scoped in writing.

Sources and further reading

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.