0

我正在尝试向苹果发送推送通知,moon apns 但出现以下错误

{"An unknown error occurred while processing the certificate"}
{"A call to SSPI failed, see inner exception."}

这是错误行

 _apnsStream.BeginRead(response, 0, 6, ReadResponse, new MyAsyncInfo(response, _apnsStream));

我寻找解决方案,但没有解决?谁能告诉我为什么会出现这个错误?

4

1 回答 1

0

尝试替换此行:

_apnsStream.AuthenticateAsClient(host, certificates, System.Security.Authentication.SslProtocols.Ssl3, false);

_apnsStream.AuthenticateAsClient(host, certificates, System.Security.Authentication.SslProtocols.Default, false);
于 2015-01-29T17:13:08.423 回答