3
try
{
    _apnsStream.AuthenticateAsClient("gateway.sandbox.push.apple.com", certificates, System.Security.Authentication.SslProtocols.Ssl3, false);
}

"A call to SSPI failed, see inner exception".net Web サービスで Moon-Apns dll を使用しているときに、上記の行でこのエラーが発生しています...この問題を解決する方法を教えてください。

4

4 に答える 4

2

変化する:

System.Security.Authentication.SslProtocols.Ssl3

に:

System.Security.Authentication.SslProtocols.Tls 
于 2014-10-16T19:56:24.873 に答える
1

開発証明書ではなく、製品証明書を使用してください。

gateway.push.apple.comの代わりに使用gateway.sandbox.push.apple.com

かつSystem.Security.Authentication.SslProtocols.Ssl3_System.Security.Authentication.SslProtocols.Tls

于 2014-11-03T12:19:53.333 に答える