来自asp.net的ios推送通知

来自asp.net的ios推送通知,asp.net,ios,apple-push-notifications,Asp.net,Ios,Apple Push Notifications,我尝试从服务器发送通知消息 当我尝试使用php时,它工作得很好,但在.Net中它不工作。我在用 我没有使用https服务器,只是在localhost中运行 我得到了错误的答案 调用SSPI失败,请参阅内部异常 An unknown error occurred while processing the certificate at System.Net.Security.SslState.CheckThrow(Boolean authSucessCheck) at System.N

我尝试从服务器发送通知消息

当我尝试使用php时,它工作得很好,但在.Net中它不工作。我在用

我没有使用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发送通知还有其他方法吗?

对不起,我尝试使用一些新证书(*.certSigningRequest,*.cer,*.p12)它可以工作。