Centrify IdP for SAML Integration
Overview
This guide provides an example on how to configure Aviatrix to authenticate against Centrify IdP. When SAML client is used, your Aviatrix controller acts as the Identity Service Provider (SP) that redirects browser traffic from client to IdP for authentication.
Before configuring SAML integration between Aviatrix and Centrify, make sure you have a valid Centrify account with administrator access.
Configuration Steps
Follow these steps to configure Aviatrix to authenticate against your Azure AD IdP:
Step 1. Retrieve Aviatrix SP Metadata from the Aviatrix Controller
Step 2. Create a Centrify SAML Application for Aviatrix
Step 3. Retrieve Centrify IdP metadata
Step 4. Update Aviatrix SP Endpoint in the Aviatrix Controller
Step 5. Test the Integration is Set Up Correctly
Step 1. Retrieve Aviatrix SP Metadata from Aviatrix Controller
Before creating the Centrify SAML Application, Centrify requires the Service Provider (SP) metadata file from the Aviatrix Controller. You can create a temporary SP SAML endpoint to retrieve the SP metadata for now. Later on in the guide, the SP SAML endpoint will be updated.
Follow one of the links below according to your use case:
If integrating Centrify IdP with Controller Login SAML Config
If integrating Centrify IdP with OpenVPN with SAML Authentication
For Centrify, right click the SP Metadata button next to the SAML endpoint and save the file.
Here you can retrieve the SP metadata by clicking on the SP metadata
Tip
Copy the above metadata as text. It will be pasted into the Centrify IdP in the later steps.
Note
You can also use URL method if you have configured signed certificates for the Aviatrix Controller, but not for the initial self-signed certificate.
Step 2. Create a Centrify SAML App for Aviatrix
From the Centrify App->Add New App->Custom, select SAML and click on “Add”. Click yes and close the prompt. This lets you configure the application.
Configure app settings. Enter a name for your application, click Save and go to the next page
In the Metadata XML section, paste the SP metadata that was copied in the previous section (Step 1) Click on “Save” and go to the next section
Note
You can also use URL method if you have configured signed certificates for the Aviatrix Controller, but not for the initial self-signed certificate.
Configure the following SAML attributes (Email is the unique identifier)
FirstName
LoginUser.FirstName
LastName
LoginUser.LastName
Email
LoginUser.Email
Also, the custom logic needs to be set for the attributes to work
setAttribute(“exampleAttr”, “DOMAIN\user”);
You can preview the SAML response and this step and select the user. Make sure that there are no errors.
Click “Save” and go to the next tab
Add users
Click “Save” and go the next tab
Add any policies if you require them. Click “Save” and go to the next tab
Use the default “Directory service field” mapping. Click “Save” and go to the next tab
Configure the next pages if you require them, “Linked applications”,”Provisioning”, “App Gateway” if you require them. Click “Save”. The SAML configuration at the IdP is now complete
Step 3. Retrieve Centrify IdP metadata
Copy the metadata URL from the Trust page.
Step 4. Update Aviatrix SP Endpoint
Note
This step is usually completed by the Aviatrix admin. Centrify IdP provides IdP Metadata through URL obtained in Retrieve Centrify IdP metadata (Step 3).
Continue with updating Aviatrix SAML Endpoint by visiting one of the following links based on your use case:
If integrating Centrify IdP with Controller Login SAML Config
If integrating Centrify IdP with OpenVPN with SAML Authentication
Note
Each endpoint only supports one type of access. If you need admin and read-only access, create two separate SAML apps. Hostname is the default for Entity ID, but if you have other apps using the same hostname, use a custom Entity ID.
Step 5. Test the Integration
Tip
Be sure to assign users to the new application in Centrify prior to validating. If you do not assign your test user to the Aviatrix SAML application, you will receive an error.
Continue with testing the integration by visiting one of the following links based on your use case:
If integrating Centrify IdP with Controller Login SAML Config
Click Settings in the left navigation menu
Select Controller
Click on the SAML Login tab
If integrating Centrify IdP with OpenVPN with SAML Authentication
Expand OpenVPN® in the navigation menu and click Advanced
Stay on the SAML tab
You can quickly validate that the configuration is complete by clicking on the Test button next to the SAML endpoint.