The remote certificate is invalid according to the validation procedure


#1

I am getting the message when I access the rest api for twitter. Though I am passing consumer and the secret key, why I am getting this message in my server box. Local box it is working fine.

The remote certificate is invalid according to the validation procedure
Error Type: System.Security.Authentication.AuthenticationException
Error Message: The remote certificate is invalid according to the validation procedure.
Error Source: System
Error Location: Void StartSendAuthResetSignal(System.Net.Security.ProtocolToken, System.Net.AsyncProtocolRequest, System.Exception)
Error Stack Trace:
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)

Anyone help…will be appreciated.

Thanks,
B