Pyapn Right Way To Create Pem Files
I know this might be due to lack of better knowledge, but I seem not to be able to get this running. What is the right way as of today how to create the correct certificates / pem
Solution 1:
Ok, after some googling and trial and errors I finally have gotten through to get a send confirmation Sent push message to APNS gateway
from PyAPNs
.
Here are the steps how I had to adjust my pem
files.
openssl pkcs12 -in cert.p12 -out cert.pem -clcerts -nokeys
openssl pkcs12 -in key.p12 -out key.pem -nocerts
openssl rsa -in key.pem -out keyNoPasswd.pem
cat keyNoPasswd.pem > mergedPushCertificate.pem
cat cert.pem >> mergedPushCertificate.pem
Use mergedPushCertificate.pem
as certificate and key in PyAPNs.
Based on https://github.com/project-imas/mdm-server/issues/6
Post a Comment for "Pyapn Right Way To Create Pem Files"