Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to authenticate my application user with office 365 using Oauth v2, when I deploy my code on window server 2008 with TLS 1.2 enabled ,this give following error.

The client and server cannot communicate, because they do not possess a common algorithm but when we enable tls 1.0 then its start working properly?

What I have tried:

I have google and search through api documents ,but could not find any thing
Posted
Updated 2-Aug-17 23:50pm
v2
Comments
virusstorm 3-Aug-17 8:48am    
Is your Windows Server 2008 machine patched and up to date? I've run into similar problems and found that the way 2008 handles TLS is outdated (it is an eight year old OS). You may want to spin up a Windows Server 2012 or 2016 machine and try that. You might find it's simply an issue with 2008.
Sajid227 4-Aug-17 1:28am    
I have done a test by disabling tls 1.0 on my local machine ,same thing is repeated. local machine with OS WIN 10,IIS above 7.0.
Richard Deeming 3-Aug-17 9:02am    
There are two sets of settings which control the enabled algorithms: the server settings, and the client settings.

The list of algorithms enabled in the server settings on the server needs to overlap with the list of algorithms enabled in the client settings on the client. If they don't, then you'll get this error.

Enable TLS 1.2 in the server settings on the server, and enable TLS 1.2 in the client settings on the client.

If you're using .NET, you'll also need to install v4.5 or higher to get TLS 1.2 support.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900