Skip to content

Instantly share code, notes, and snippets.

@sunnycmf
Created August 21, 2013 07:35
Show Gist options
  • Save sunnycmf/6291351 to your computer and use it in GitHub Desktop.
Save sunnycmf/6291351 to your computer and use it in GitHub Desktop.
iOS passbook signing sh.
openssl pkcs12 -passin pass:"somepass" -in "mycert.p12" -clcerts -nokeys -out certificate.pem
openssl pkcs12 -passin pass:"somepass" -in "mycert.p12" -nocerts -out key.pem -passout pass:"somepass"
openssl smime -binary -sign -certfile WWDR.pem -signer certificate.pem -inkey key.pem -in manifest.json -out signature -outform DER -passin pass:"somepass"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment