Wap Connection issue to ADFS

Darnell Hudson 1 Reputation point
2022-02-22T20:45:58.567+00:00

I'm getting this error when the WAP tries to connect to the ADFS server when installing the Certificate.
when I run get-Webapplicationproxyapplicaition command I get Web Application Proxy could not connect to the AD FS configuration storage and could not load the configuration Make sure that the Web Application Proxy server can connect to the AD FS server if not run Install-WebApplicationProxy.
Run Install-WebApplicaitionProxy get this error An error occurred when attempting to establish a trust relationship with the federation service. The underlying connection was closed. Could not establish a trust relationship. The WAP server can resolve the ADFS server.

How can I fix this issue?

Microsoft Security | Active Directory Federation Services
{count} votes

3 answers

Sort by: Most helpful
  1. Pierre Audonnet - MSFT 10,191 Reputation points Microsoft Employee
    2022-02-28T14:35:02.517+00:00

    Oh, is that a duplicated post with https://learn.microsoft.com/en-us/answers/questions/749961/adfs-wap-connection-issue-to-adfs-server.html ? Well this one has slighly more information.

    It could be an issue with the TLS crypto suite, with SNI, with firewall doing inspection etc... Hard to say for now.

    What version of AD FS are you using?
    Also, you need to use the FQDN of the farm to join the WAP (not the FQDN o the server). Are you doing that?

    0 comments No comments

  2. Darnell Hudson 1 Reputation point
    2022-02-28T17:13:37.383+00:00

    ADFS 3 on server2012 R2. Yes I am using the FQDN of the farm.

    0 comments No comments

  3. Pierre Audonnet - MSFT 10,191 Reputation points Microsoft Employee
    2022-02-28T20:52:01.727+00:00

    Then check the other points. Make sure they use the safe TLS/SSL cipher on both side: https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/operations/manage-ssl-protocols-in-ad-fs make sure you enable SchUseStrongCrypto on both. Have disable the legacy stuff on both etc...

    And make sure you can reach the revocation endpoints of your ADFS TLS certificates from your WAP Server.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.