A call to SSPI failed, see inner exception

nagender picture nagender · Sep 19, 2013 · Viewed 9.2k times · Source
try
{
    _apnsStream.AuthenticateAsClient("gateway.sandbox.push.apple.com", certificates, System.Security.Authentication.SslProtocols.Ssl3, false);
}

I am getting this error "A call to SSPI failed, see inner exception" at the above line while using Moon-Apns dll in my .net web service... can any one suggest me to solve this issue.

Answer

JCLopez picture JCLopez · Oct 16, 2014

Change:

System.Security.Authentication.SslProtocols.Ssl3

to:

System.Security.Authentication.SslProtocols.Tls