mishgolf
Aspiring developer
Profile
Posts: 98
Reg: Nov 02, 2012
Sunshine Coast,...
980
12/17/13 05:03 PM (11 years ago)

Creating .pem files for iOS Push Notifications with buzztouch

Hi everyone, i am setting up .pem files for an app i have made. I am using the instructions from buzztouch (Creating .pem files for iOS Push Notifications with buzztouch.pdf)and am getting stuck on: "11) Convert the .p12 file into a .pem file: Open up the Terminal App on your map. etc etc." It says i should get this message and then my .pem file created "You will see “Mac Verified OK” You can close Terminal." But instead i get this: "Usage: pkcs12 [options] where options are -export output PKCS12 file -chain add certificate chain -inkey file private key if not infile -certfile f add all certs in f -CApath arg - PEM format directory of CA's -CAfile arg - PEM format file of CA's -name "name" use name as friendly name -caname "nm" use nm as CA friendly name (can be used more than once). -in infile input filename -out outfile output filename -noout don't output anything, just verify. -nomacver don't verify MAC. -nocerts don't output certificates. -clcerts only output client certificates. -cacerts only output CA certificates. -nokeys don't output private keys. -info give info about PKCS#12 structure. -des encrypt private keys with DES -des3 encrypt private keys with triple DES (default) -seed encrypt private keys with seed -aes128, -aes192, -aes256 encrypt PEM output with cbc aes -nodes don't encrypt private keys -noiter don't use encryption iteration -maciter use MAC iteration -twopass separate MAC, encryption passwords -descert encrypt PKCS#12 certificates with triple DES (default RC2-40) -certpbe alg specify certificate PBE algorithm (default RC2-40) -keypbe alg specify private key PBE algorithm (default 3DES) -keyex set MS key exchange type -keysig set MS key signature type -password p set import/export password source -passin p input file pass phrase source -passout p output file pass phrase source -engine e use engine e, possibly a hardware device. -rand file:file:... load the file (or the files in the directory) into the random number generator -CSP name Microsoft CSP name -LMK Add local machine keyset attribute to private key" Perhaps the last line may have a clue? I did use my current App Id and didnt create a new one? is this going to make it not work? appreciate any help from people who have done this before. thanks Hamish
 
KozmoWeb
Aspiring developer
Profile
Posts: 342
Reg: Dec 08, 2012
Sarasota, FL
8,520
like
12/17/13 08:11 PM (11 years ago)
Hi Hamish, I use this website to generate it for me: http://p12pem.com/ Best, -William
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
12/17/13 08:52 PM (11 years ago)
Hamish! Best name on BT without a doubt. Let us know how you get on with that site. Have always used Parse. Switching to BT push this weekend hopefully, good to see this thread. Who do you host with?
 
mishgolf
Aspiring developer
Profile
Posts: 98
Reg: Nov 02, 2012
Sunshine Coast,...
980
like
12/20/13 03:11 PM (11 years ago)
Hey thanks for the website @Kozmoweb. I have created .pem with it. Just have to get the next stage done now. @MacApple I am not self hosted yet:( :) so still with buzztouch.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.