Configure Active Directory Federation Services as an Identity Provider
This topic describes how to set up Active Directory Federation Services (AD FS) as your identity provider by configuring SAML integration in both Pivotal Web Services (PWS) and AD FS.
- Log in to the Single Sign-On (SSO) dashboard at
https://p-identity.run.pivotal.ioas a Plan Administrator.
Select your plan and click Manage Identity Providers on the drop-down menu.
Click Configure SAML Service Provider.
(Optional) Select Perform signed authentication requests to enforce SSO private key signature and identity provider validation.
(Optional) Select Require signed assertions to validate the origin of signed responses.
Click Download Metadata to download the service provider metadata.
Open the AD FS Management console.
Click Add Relying Party Trust… in the Actions pane.
On the Welcome step, click Start.
Select Import data about the relying party from a file, enter the path to the downloaded service provider metadata, and click Next.
Enter a name for Display name and click Next.
Leave the default multi-factor authentication selection and click Next.
Select Permit all users to access this relying party and click Next.
Review your settings and click Next.
Click Close to finish the wizard.
The claim rule editor should open by default. If it does not, select your Relying Party Trust and click Edit Claim Rules… in the Actions pane.
Create two claim rules by following these steps:
- Click Add Rule.
Select Send LDAP Attributes as Claims for Claim rule template and click Next.
Enter a Claim rule name.
Select Active Directory for Attribute store.
Select E-Mail-Addresses for LDAP Attribute and select E-mail Address for Outgoing Claim Type.
Click Add Rule.
Select Transform an Incoming Claim for Claim rule template and click Next.
Enter a Claim rule name.
Select E-Mail Address for Incoming claim type.
Select Name ID for Outgoing claim type
Select Email for Outgoing name ID format.
Double-click on the new Relying Party Trust to open the properties.
Select the Encryption tab and click Remove to remove the encryption certificate.
Select the Advanced tab and select SHA-1 for the Secure hash algorithm.
(Optional) If you are using a self-signed certificate, disable CRL checks by following these steps:
- Open Windows Powershell as an Administrator.
- Execute the following command:
> set-ADFSRelyingPartyTrust -TargetName "< Relying Party Trust >" -SigningCertificateRevocationCheck None
(Optional) If you are using a self-signed certificate, add it to the ADFS trust store. Obtain the OpsManager certificate from
https://OPS_MANAGER_IP/api/v0/security/root_ca_certificateand add this CA certificate to the ADFS trust store, so ADFS can trust the “Service Provider Key Certificate” certificate signed by OpsManager ROOT CA.
Note: Prior to PCF 1.10+, steps 13 and 14 are required as all PCF components (including SSO tile) have certificates are signed by an internal CA. In PCF 1.10+, customers can upload their own CA certificate to PCF.
- (Optional) To specify any application or group attributes that you want to map to users in the ID token, click Edit Claim Rules… and configure Send LDAP Attributes as Claims.