title: Stuck creating p12 file for MoonAPNS
body: <p>I am having some trouble creating my .p12 certificate. 
  I have previously created an application with push notification, this works fine. 
  The application takes the users device id and saves it into a database. </p>
  
  <p>I have added the code into my new application(with the amendments to work with the new application), and from the Log it seems to be working in the same way as my other app. </p>
  
  <p>I have downloaded the relevant files that i need and then i know i needed to use ssl to be able to create my new and combined p12. 
  I cant for the life of me remember how i created the p.12 file. </p>
  
  <p>I'm using moonapns. </p>
  
  <p>I have used the following:</p>
  
  <blockquote>
    <p>Step 1:</p>
    
    <p>openssl x509 -in aps_developer_identity.cer -inform DER -out
    aps_developer_identity.pem -outform PEM}</p>
    
    <p>Where aps_developer_identity.cer is the file you download from the
    portal</p>
    
    <p>Step 2:</p>
    
    <p>openssl pkcs12 -nocerts -out APSCertificates.pem -in
    APSCertificates.p12</p>
    
    <p>Where APSCertificates.p12 is a file you export from the Mac Keychain.
    This is critical, you must import the certificate from the portal into
    keychain. Find it in My Certificates, open the disclosure triangle and
    highlight both the certificate and the private key, then right click
    and export them. Give them a password and save them to a p12 file.</p>
    
    <p>Step 3:</p>
    
    <p>openssl pkcs12 -export -in aps_developer_identity.pem -out
    aps_developer_identity.p12 -inkey APSCertificates.pem</p>
  </blockquote>
  
  <p>I have added the certificate and it isn't working, i'm not receiving the notification to the device. Does any one know how else i am supposed to create the certificate?? </p>