Hi Owens Aseel
Thank you for reaching out to Microsoft Q&A forum
As far as I know, the Workflow Manager uses its own .NET Framework runtime, separate from SharePoint. Even though SharePoint servers are configured for TLS 1.2, the WFM service host process needs its own configuration because it's making the outbound HTTP calls directly. The AppContextSwitchOverrides setting tells .NET to respect the system default TLS versions (which includes TLS 1.2) rather than falling back to legacy protocols.
That said, I am totally agreeing with you that the workflow manager has its own .NET runtime configuration that needs to be explicitly configured to use TLS 1.2, independent of the SharePoint server's registry settings.
Moreover, I have conducted some research, and I think the solution of this context is you have to modify the Workflow Manager configuration files to force TLS 1.2, to do that, you can follow the below recommended approaches:
1. Locate the Configuration Files
On your Workflow Manager server(s), you need to modify these config files:
C:\Program Files\Workflow Manager\1.0\Workflow\WFWebRoot\web.config
C:\Program Files\WorkflowManager\1.0\WorkflowServiceHost\Microsoft.Workflow.ServiceHost.exe.config
2. Add the Runtime Configuration
In both config files, add the following within the <configuration> section:
<configuration>
<!-- Other existing configuration -->
<runtime>
<AppContextSwitchOverrides value="Switch.System.Net.DontEnableSystemDefaultTlsVersions=false" />
</runtime>
<system.net>
<settings>
<servicePointManager checkCertificateRevocationList="false" />
</settings>
</system.net>
<!-- Other existing configuration -->
</configuration>
4. Verify Registry Keys on WFM Server
Ensure these registry keys are set on the Workflow Manager server (not just SharePoint):
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319] "SchUseStrongCrypto"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319] "SchUseStrongCrypto"=dword:00000001
5. Restart Services
After making these changes, kindly stop Workflow manager services:
- Workflow manager backend service bus gateway
- Service bus message broker
Restart them in order:
- Service Bus Message
- Broker Service Bus Gateway
Workflow Manager Backend
You can try the above workaround method, if the problem still persists, kindly let me know in the comments for further support.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.