Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to add a Trusted Relying Party using the ADFS 2 wizard. My dev site (IIS hosted) has an HTTP binding at port 61080 while the HTTPS binding is on port 61443. I've got a self signed .PFX certificate for SSL.

The ADFS 2.0 server is a Win2K8 R2 server hosted in a VM. This server is also a (dummy, for testing only) Domain Controller. The ADFS site is using a self signed certificate as well.

I've added the ADFS 2 site as an STS to my dev site using FedUtil. Now here's the problem, when I try to add the dev site as a trusted relying party on the ADFS server, I get this error message...

An error occurred during an attempt to read the federation metadata. Verify that the specified URL or host name is a valid federation metadata endpoint.

Verify your proxy server setting. For more information about how to verify your proxy server setting, see the AD FS 2.0 Troubleshooting Guide (http://go.microsoft.com/fwlink/?LinkId=182180). Error message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

In an attempt to resolve this problem, I've exported both the self signed certificates and added them to the "personal" and "trusted root certification authorities" in both machines but still no luck. The link mentioned in the error message offers some generic advice which hasn't been of any help.

Does any one have any ideas?

-Thanks!

share|improve this question

migrated from stackoverflow.com May 19 '11 at 9:53

This question came from our site for professional and enthusiast programmers.

2 Answers 2

First port of call is the Windows event log. You'll see an entry for ADFS. Are there any errors?

(The ADFS errors that display as abopve aren't very helpful!).

If you load IE from the VM that hosts ADFS, can you navigate to the relying party metadata i.e. display it in the browser?

Have you tried saving the metadata as a file and then using the "Import data as a file" option?

When you navigate to the site you want to add as a relying party using https, do you get certificate errors or do you get the green IE bar? ADFS doesn't like certificate errors.

share|improve this answer

I found the problem. The corporate network policies were restricting traffic between a computer in the domain and my non-domain VM.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.