Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

ADFS cmdlet: Add-ADFSRelyingPartyTrust -MetadataURL issue

$
0
0

Hi,

I am configuring ADFS as IdP with OIF (Oracle Identity Federation) as RP.

OIF-RP is configured with SSL with self-signed cert and RP side self-signed cert is loaded to "Trusted Root Certification Authorities" under "Computer account" (MMC->Add or remove Snap-ins->Add Certificates->Computer account)

Tried running 'Add-ADFSRelyingPartyTrust' cmdlet with metadata URL like this:

Add-ADFSRelyingPartyTrust -Name 'OIF' -MetadataURL 'https://rphost:7002/fed/sp/metadata'

I am getting following error:

Add-ADFSRelyingPartyTrust : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
At line:1 char:26
+ Add-ADFSRelyingPartyTrust <<<<  -Name 'OIF' -MetadataURL 'https://rphost:7002/fed/sp/metadata';    + CategoryInfo          : InvalidData: (:) [Add-ADFSRelyingPartyTrust], WebException   + FullyQualifiedErrorId : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.,Microsoft.IdentityServer.PowerShell.Commands.AddRelyingPartyTrustCommand

When I tried with "-MetadataFile c:\rpMetadata.xml" it worked. Also when I tried accessing in browser with OIF metadata URL:'https://rphost:7002/fed/sp/metadata', I am able to get the metadata successfully.

Kindly let me know how should I do to avoid this issue.

Appreciate your help!!

Thanks

SGK


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>