Citrix
In this document, you are going to set up IDmelon
as an external IdP to the Citrix
.
Login to Citrix administration panel
- Click on the “Manage Authentication Methods”
- Click on the “SAML Authentication”
- Click on the “SAML Authentication” option and choose on the “Service Provider”
- Copy the value of “Service Provider Identifier” field for future use when adding the app into your IDmelon Orchestrate panel.
- Click on the “Browse” button of “Export Encryption Certificate”:
And save this certificate file with custom name like
sp_enc.cer
. - Convert this exported certificate file from the binary encoded cer format to the pem format:
openssl x509 -in sp_enc.cer -out sp_enc.pem -outform PEM
The output file will be sp_enc.pem
.
We will use this file in IDmelon Orchestrate Panel.
IDmelon SAML configuration
Login to the IDmelon Orchestrate Panel and navigate to the “Simple Sign-on" and “App Management" Then Click on “Integrate with a New App” button:
Click on the “Create a custom configuration” button:
Set a custom name “Citrix” and click next.
Fill the all fields as describe in the picture. Set the “Entity ID” with value that you copied It as “Service Provider Identifier” in the step 4 of the Login to Citrix administration panel section .
Sample Entity ID:
http://srv8431835910.idmelon.ctx/Citrix/Authentication
Sample ACS:
https://srv8431835910.idmelon.ctx/Citrix/Authentication/SamlForms/AssertionConsumerService
Sample Default Relay State:
https://srv8431835910.idmelon.ctx/Citrix/Store
To get the value for the “Assertion Consumer Service” field:
In the Windows PowerShell ISE run this command:
Get-STFStoreService | Out-String -Stream | Select-String "VirtualPath"
Run the below commands and remember to change the value of
/Citrix/Store
with the value you obtained in the previous step.Get-STFStoreService | Out-String -Stream | Select-String "VirtualPath" $storeVirtualPath = "/Citrix/Store" $auth = Get-STFAuthenticationService -Store (Get-STFStoreService -VirtualPath $storeVirtualPath) $acs = New-Object System.Uri $auth.Routing.HostbaseUrl, ($auth.VirtualPath + "/SamlForms/AssertionConsumerService") echo $acs
Set the value of “Default Relay State” field based on your $storeVirtualPath value:
Sample: https://srv8431835910.idmelon.ctx/Citrix/Store
For the “Public Certificate” field, click “Upload Certificate File” and select the converted sp_enc.pem file in the step 5 of the Login to Citrix administration panel.
In the next page define all attributes as picture and click on the confirm button:
SP variable name IDP variable name email email username email userprincipalname email In the IDmelon Panel , Form the “Simple Sing-on” menu, navigate to the “App Management” menu and click on the “Edit” icon of created “Citrix” application:
Copy the value of “Idp Entity ID”. We will use in the Citrix Panel.
Download “IdP Signature Certificate” file and convert it to the cer format:
openssl x509 -inform PEM -in cert.pem -outform DER -out idp.cer
We will use in the Citrix Panel. The output file will be
idp.cer
.Back to the “Manage Authentication Methods” of Citrix Panel Click on the “SAML Authentication” option and click on the “Identity Provider”
Set the value of “SAML Binding” to “Redirect”. Set the value of “Address” to the value copied from “Idp Entity ID” in the step 9.
Click on the “Import” button and select the idp.cer file that is converted in the “IdP Signature Certificate” section of the step 10.