Supportability of XBAP + ClientFormsAuthenticationMembershipProvider + WCF Message Security + TLS 1.2-only in IE11 / PresentationHost.exe (.NET 4.8)

Sivagnanam Munusamy 0 Reputation points
2025-06-18T10:37:13.6733333+00:00

We are troubleshooting the following architecture scenario:

Client: XBAP application (.xbap) running in IE11 / PresentationHost.exe on Windows Server 2022

WCF Service Binding: wsHttpBinding with Security mode="Message" (certificate used for encryption)

XBAP uses ClientFormsAuthenticationMembershipProvider for login/authentication

TLS Configuration:

DotNET TLS Settings-

     App.config (
     
           Progrmatically enable the TLS 1.2 in XBAP(System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12)
           
              TLS 1.2 enabled and enforced (TLS 1.0 and TLS 1.1 explicitly disabled via SCHANNEL registry)
              
                 Cipher Suites modern and in compliance with Windows guidelines ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010002"))
                 
                 Certificates used for Message security: 2048-bit RSA with SHA-256
                 
                  XBAP Client and web Server can access certificate private key
                 

 

Observed issue:

When operating in TLS 1.2-only mode, the WCF Message Security negotiation fails with the following error:

System.ServiceModel.Security.SecurityNegotiationException: SOAP security negotiation failed. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm.

If TLS 1.0 is enabled, the same application works successfully.

 

Questions:

  1. Why is this scenario not working with TLS 1.2 only mode?
  2. Are there any guidance and documents to handle this for production deployments?
Developer technologies | .NET | .NET Runtime
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 79,101 Reputation points Volunteer Moderator
    2025-06-25T16:01:28.2066667+00:00

    see this thread:

    https://stackoverflow.com/questions/52859033/force-presentationhost-to-use-tls-1-2

    again XBAP is out of support (ended 6/15/2022), so there may be no solution.

    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.