Guest User

Untitled

a guest
Jan 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # Convert the .p12 file into a .pem file:
  2. $ openssl pkcs12 -nocerts -in Filename.p12 -out FileName.pem
  3.  
  4. # Convert the .cer file into a .pem file:
  5. $ openssl x509 -in apns_development.cer -inform der -out PushCert.pem
  6.  
  7. # Finally, combine the certificate and key into a single .pem file
  8. $ cat PushCert.pem FileName.pem > final.pem
  9.  
  10. # Finally use final.pem or FileName.pem
Add Comment
Please, Sign In to add comment