title: Passbook, PHP, and signing
body: <p>Whenever I try to add my pass to passbook it fails due to: </p>
  
  <blockquote>
    <p>Manifest signature did not verify succesfully</p>
  </blockquote>
  
  <p>My code for signing is below:</p>
  
  <pre><code>$privKey = "certs/key.pem";
  $keyPassword = "PASSWORD";
  $wwdr = "certs/wwdr.pem";
  $cert = file_get_contents("certs/certificate.pem");
  $certData = openssl_x509_read($cert);
  
  openssl_pkcs7_sign($path . "/" . "manifest.json", 
  $path . "/" . "signature", 
  $certData, 
  array("file://" . $privKey, $keyPassword), 
  array(), 
  PKCS7_BINARY|PKCS7_NOATTR|PKCS7_DETACHED,
  "certs/wwdr.pem");
  </code></pre>
  
  <p>Thanks!</p>