I'm using PushSharp 4.0.10 in my push notification server.
I can send push notifications to Android, but when I'm trying to send push notifications to ios, an error occurs:
Something went wrong in Comunications Worker:
Method name -> PushNotifications.DispatchPushNotifications()
Message -> There is an error sending iOS push notifications.
Exception - > Specified argument was out of the range of valid values.
Parameter name: You are using a certificate created for connecting only to the Sandbox APNS server but have selected a different server environment to connect to.
I already created a certificate "Apple Push Notification service SSL (Sandbox & Production)" and also the individuals certificates "iOS App Development" and "App Store and Ad Hoc". In both cases I get the same error.
Is there any correct way to generate the certificate?
Can you point me the correct way, or is there any other bug or missing update?
Thank you, for your time.