サーバーから通知メッセージを送信しようとすると、
PHPで試してみるとうまくいきますが、.Netではうまくいきません。私はMoonAPNSを使用しています。
私はhttpsサーバーを使用していません.localhostで実行するだけです.
次のようにエラーが発生します
SSPI の呼び出しに失敗しました。内部例外を参照してください。
An unknown error occurred while processing the certificate
at System.Net.Security.SslState.CheckThrow(Boolean authSucessCheck)
at System.Net.Security.SslState.get_SecureStream()
at System.Net.Security.SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
at MoonAPNS.PushNotification.SendQueueToapple(IEnumerable`1 queue) in D:\Sample\PushNotification to iPhone\Moon-APNS-master\Moon-APNS-master\Application\MoonApns\PushNotification.cs:line 128
at MoonAPNS.PushNotification.SendToApple(List`1 queue) in D:\Sample\PushNotification to iPhone\Moon-APNS-master\Moon-APNS-master\Application\MoonApns\PushNotification.cs:line 99
at PushNotify._Default.Page_Load(Object sender, EventArgs e) in D:\Sample\PushNotification to iPhone\Moon-APNS-master\Moon-APNS-master\PushNotify\Default.aspx.cs:line 19
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
誰でもこれを助けることができます。.Netを使用して通知を送信する他の方法はありますか