Unable to use twitter rest api


The Twitter api works fine on developers’ machine, but when we publish our site to live servers, twitter api stops working.

We receive an exception that says ‘Certificate algorithm is not supported’ when trying to get the bearer token.
All of the api keys are correct.

We are are using C# .net mvc OAuth application-only authentication and calling the GET statuses/user_timeline url… UKFAST is our hosting provider located in the UK.

Does anyone know how to fix it?



This sounds like maybe the SSL / TLS libraries on your production host don’t support the required encryption levels to talk to Twitter’s https endpoints. I’m afraid I don’t know how to check the difference between your two environments, since i don’t have a Windows / C# capable host handy here.

Do you know what frameworks are being using to handle TLS by your .NET code? do you have a stack trace?


Thanks for getting back to me. I think you are right. Someone else on my team that knows more about SSL is working on it. I will let you know if we fix it.