How to configure Idira MFA for Idira Vault via RADIUS

How to configure Idira MFA for Idira Vault via RADIUS

510
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:57 PM


Objective


This article will walk through the steps for enabling Idira MFA on self-hosted CorePAS for PVWA login, and PSM RDP and SSH proxy, via RADIUS.

Environment


21.1;21.2;21.3;21.4;21.5;21.6;21.7;21.8;21.9;21.10;21.11;21.12;22.1;22.2;22.3;22.4;22.5;22.6 Privileged Access Manager (PAM, self-hosted);Identity Password Vault Web Access;PSM;PSMP;Privileged Session Management (PSM);Connector

Procedure


Prerequisites

The CyberArk Identity Connector installed in the same network where the CyberArk Vault can contact the Connector for RADIUS authentication. -> https://docs.cyberark.com/Product-Doc/OnlineHelp/Idaptive/Latest/en/Content/CoreServices/Connector/Connector-Install.htm

CyberArk Identity Configuration

    1. Login to your CyberArk Identity Admin portal
    2. Navigate to Settings > Network > CyberArk Identity Connectors > Select Existing Connector PSM existing connector.png
    3. Click RADIUS
    4. Select the Enable incoming RADIUS connections checkbox. Default Port is 1812 > Click Save PSM enable RADIUS.png
    5. To Define the RADIUS client information, Click Authentication > RADIUS Connections > Client tab > Add to configure your RADIUS client. 
    add RADIUS client.png
    • For the Client Hostname or IP Address, enter the IP address of the CyberArk Vault server
    • For the Client Secret, define a strong secret key.  Best practices recommend 22 or more characters.
    • Vendor ID should be blank 
    PSM RADIUS client settings.png
    1. Under Settings > Authentication > Authentication Profiles > Click Add Profile
    2. Create a Profile to be used for RADIUS challenges. Click Done. PSM RADIUS auth profile.png
    3. Under Core Services, click Policies > Default Policy > User Security Policies > RADIUS > Set Allow RADIUS client connections to Yes
    4. Enable Require authentication challenge
    5. Set the Default Authentication Profile to the name of the RADIUS Authentication Profile you just created.


    CyberArk Vault Configuration

    RADIUS CONFIGURATION

    On the Vault server, open a Powershell or Command window as Administrator.

    Go to the Vault installation folder > C:\Program Files (x86)\PrivateArk\Server\
    Create Certificate - A Vault certificate to create an initial secured session prior to the RADIUS authentication. This certificate is optional, but recommended. -> https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/RADIUS-Authentication.htm

    Run CAVaultManager with the SecureSecretFiles command to create a file that contains an encrypted version of the RADIUS secret that was used during the Proxy setup

    1 CAVaultManager SecureSecretFiles /SecretType Radius /Secret myRadiusSecret /SecuredFileName radiusauth.dat

    PSM RADIUS configured.png

    In order to enable RADIUS for the Vault, we need to edit the dbparm.ini file.
    Dbparm.ini is located on the Vault server @ C:\Program Files (x86)\PrivateArk\Server\Conf
    Before making changes to the dbparm.ini file - ALWAYS take a backup of the file first. 
    Open notepad or another text editor as Administrator and open the dbparm.ini file.
    In the DBParm.ini, specify the following parameter right above the [Backup] section:

    • The RADIUS server will be the IP address of the computer the Cloud Connector is installed on.
    • <VaultHostname> should be the IP address of the Vault server
    1  RadiusServersInfo=<RADIUS_Server>;1812;<VaultHostname or IP>;radiusauth.dat

    PSM RADIUS dat.png

    Restart the Vault via PrivateArk Server console.

    Login to PrivateArk as an Administrator from the Vault or any other service w/ the PrivateArk client.

    Go to Tools > Administrative Tools > Users and Groups

    Select the user that will use RADIUS authentication and click Update.

    Screen Shot 2022-07-07 at 6.22.33 PM.png

    On the Authentication tab, under Change Password, select RADIUS authentication. Click Ok. Then click Close.

    Quit PrivateArk

    Screen Shot 2022-07-07 at 6.24.04 PM.png

    Login to PVWA as an Admin user

    Click on Administration (the wrench icon) > Configuration Options > Click on Options under Component Settings.

    On the left hand side, select Authentication Methods > radius

    Set DisplayName to CyberArk RADIUS

    Set Enabled to Yes, Click OK to save

    Screen Shot 2022-07-07 at 6.26.26 PM.png

    TEST RADIUS

    Launch the PVWA.

    Select CyberArk RADIUS as the authentication method

    Enter the username and password for the test user we configured for RADIUS in PrivateArk. Click Sign-In

    If configured correctly, you will be prompted for a MFA method. 

    If you have multiple methods configured, enter JUST THE NUMBER of the challenge you want to use and click Answer

    Screen Shot 2022-07-07 at 6.27.32 PM.png

    TROUBLESHOOTING

    • On the Vault server, check the PrivateArk Server console for errors.
    • On the PVWA server, review the CyberArk.WebApplication.log located in C:\Windows\Temp\PVWA for any authentication errors.
    • Search Salesforce for any specific error codes
    • Ensure the Vault is configured to allow outbound traffic for UDP/1812.
    • Ensure the Windows Firewall on the server where the Cloud Connector is installed allows inbound UDP traffic on port 1812
    • Ensure the server where the Cloud Connector is installed is listening on UDP Port 1812 with the following Powershell command

    1   Get-NetUDPEndpoint | Where {$_.LocalPort -eq "1812"} | select LocalAddress,LocalPort,OwningProcess


    ​​​​​​​Demo video of using CyberArk MFA for CyberArk RDP and SSH proxy

    ​​​​​​​


    Actions
    • Print
    • Copy Link

      https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000015CECAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail