Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

How to register IdM deployment with RHEL domain join

April 21, 2025
Alexandra Nikandrova Andre Boscatto Fraser Tweedale
Related topics:
Automation and managementDevOpsHybrid CloudIntegrationLinuxPlatform engineeringSecurity
Related products:
Image mode for Red Hat Enterprise LinuxRed Hat Enterprise LinuxRed Hat Insights

Share:

    Our first blog post, Introducing IdM in RHEL Domain Join feature - Enroll your machines on boot, discussed the benefits and implementation of automated machine enrollment in Red Hat Enterprise Linux (RHEL).

    In this article, we will dive deeper into the registration workflow of the domain join feature. The registration workflow is a prerequisite to enabling the domain join feature in recently launched instances. It follows a structured process to securely join new instances into an organization's Identity Management (IdM) system. We will explore the technical steps, key considerations, and common troubleshooting scenarios to ensure a smooth registration process.

    The registration process

    The key objectives of the end-to-end registration workflow:

    • Establish a secure connection between the instance, Red Hat Hybrid Cloud Console, and the IdM server.
    • Automate the domain join process to minimize manual intervention.
    • Ensure secure authentication and policy enforcement upon successful enrollment.

    The steps of the registration process follow:

    1. Registration wizard
      • Through the registration wizard and the ipa-hcc register command, customers can register their preexisting IdM in RHEL (or FreeIPA) identity domain with the Directory and Domain Services feature.
    2. Instance deployment
      • Deploy a new instance (virtual machine or bare metal) in a cloud or on-premises environment.
      • Preconfigure the instance with the ipa-hcc-client package.
      • This instance is registered and known by Hybrid Cloud Console. In other words, it is registered with Subscription Manager and Insights (to the same organization as the IdM server).
    3. Secure communication initiation
      • The instance establishes a connection with Hybrid Cloud Console.
      • Hybrid Cloud Console validates the instance and checks for the necessary prerequisites.
    4. Enrollment token retrieval
      • The instance requests an enrollment token from the Hybrid Cloud Console Directory and Domain Services API.
      • After authenticating the instance, the service generates and returns a token to the instance to be used for the enrollment.
    5. Instance authentication and enrollment
      • The instance uses the token to introduce itself to the IdM server.
      • The IdM server validates the token and creates the host entry.
      • The instance completes its enrollment using its Subscription Manager client certificate to authenticate.
    6. Policy enforcement and access control
      • The instance now enforces organization-wide authentication and security policies.
      • Users can securely access the instance using existing IdM credentials.
    7. Ongoing synchronization and compliance
      • The instance periodically communicates with the IdM server to maintain compliance.
      • Any access revocations or policy updates are immediately applied to the instance.
      • The registered IdM deployment refreshes its data in the Hybrid Cloud Console Directory and Domain Services database daily to allow for topology changes.

    Figure 1 illustrates the domain join registration process.

    Domain Join Workflow Diagram
    Diagram describing the workflow and orchestration of Domain Join feature.
    Figure 1: Diagram describing the workflow and orchestration of domain join feature.

    4 phases of the registration workflow

    The registration workflow can be broken down into four phases:

    1. Request registration token
      • The process begins when an administrator requests a registration token from the Directory and Domain Services user interface (called "idmsvc frontend" in the diagram).
    2. User executes registration command
      • The administrator runs the command ipa-hcc register <token> on the IdM server (provided by the ipa-hcc-server package).
      • This command initiates the server’s registration with Hybrid Cloud Console.
    3. Register IdM server API call
      • The ipa-hcc command calls the Directory and Domain Services API (called "idmsvc backend" in the diagram) to register the IdM server.
      • This ensures that the IdM server is recognized and ready for domain join operations.
    4. Store registration in database
      • The API authorizes the registration and stores data about the IdM deployment (i.e., topology, list of servers, etc.) in its own database.
      • This step finalizes the process, ensuring the system can refer new instances to the organization's registered IdM deployment.

    Registration workflow demo

    For a step-by-step demonstration of the registration workflow, you can watch the following demonstration.

    Troubleshooting common issues

    While the registration workflow is designed to be seamless, some challenges may arise. The following are common issues and their resolutions:

    • Instance fails to communicate with Hybrid Cloud Console:
      • Ensure proper network connectivity and DNS resolution.
      • Verify that required IPA ports such as HTTPS, Kerberos, and LDAP are accessible from the environment where the client instance is running.
    • Authentication failure with IdM server:
      • Confirm that the ipa-hcc-server package is correctly installed on the IdM server.
      • The registration token is bound to the organization—the IdM server must be registered to the same organization as the account running the registration wizard on Hybrid Cloud Console.
      • Check server logs for potential misconfigurations.
    • Cloud environment
      • DNS, routes, and firewalls can cause issues while setting up your environment and establishing connectivity.

    Next steps

    Now that your IdM deployment is registered with Hybrid Cloud Console, you are ready to launch machines and have them automatically enroll. Jump to our next article to learn all about that: Instance enrollment workflow for domain join in RHEL.

    Last updated: April 29, 2025

    Related Posts

    • Instance enrollment workflow for domain join in RHEL

    • Red Hat technologies make open hybrid cloud a reality

    • Using containerization for modern hybrid cloud application development

    • Enable etcd backups for OpenShift clusters in hybrid cloud environments

    Recent Posts

    • How to run a fraud detection AI model on RHEL CVMs

    • How we use software provenance at Red Hat

    • Alternatives to creating bootc images from scratch

    • How to update OpenStack Services on OpenShift

    • How to integrate vLLM inference into your macOS and iOS apps

    What’s up next?

    Learn how to set up and calculate costs with the Red Hat Insights cost management service on a supported cloud or an on-premise cluster.
    Get the cheat sheet
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue