Pawan
Pawan

Reputation: 4419

Django Push Notification to IOS

I am using this library to implement django push notification , But while setting up it demands for certificate as well as private key content to add into admin panel of that.

----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----

I am able to get certificate content by openssl x509 -text -in cert.pem command. But How do I obtain private key of certificate? If we cant obtain private key , What to write there. or please suggets me any other library which is easy to use..

Upvotes: 0

Views: 2420

Answers (1)

Timmy O'Mahony
Timmy O'Mahony

Reputation: 53998

Did you read the related link in the blog entry you posted?

http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1

It explains that you need to set up an SSL certificate to make use of push notifications:

You need to make a new App ID and provisioning profile for each app that uses push, as well as an SSL certificate for the server. You do this at the iOS Provisioning Portal.

Here is a related question:

Upvotes: 1

Related Questions