ADFS Integration for AD Authentication.

Knowledge Base
ADFS Integration for AD Authentication.
Last updated: Mar 25, 2026

1. create self signed certificate if no valid certificate is present currently using the powershell command

”   New-SelfSignedCertificate  “

New-SelfSignedCertificate -CertStoreLocation -DnsName -Verbose.

It will be needed later on.

2. Follow https://docs.pexip.com/admin/integrate_adfs.htm

Refer to section “Creating a Native Application” and “Creating a Web API Resource”

and get the federation service name and the client id.

3. To enable CORS, fire the following commands on powershell

 Set-AdfsResponseHeaders -EnableCORS $true

Set-AdfsResponseHeaders -CORSTrustedOrigins https://captivecloud.ray.life

What are your feelings