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.
I do not know if this will be helpful after a year, but I leave the answer for iOS8.
Apple has changed the server security and right on the line you mention, you have to change from SSL to TLS:
Original code:
New code:
I hope this information is helpful to someone.
Someone commented this in the GIT forum