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..