Skip to content

Commit

Permalink
README: Make command line samples easier to copy-paste with other fil…
Browse files Browse the repository at this point in the history
…enames
  • Loading branch information
raphaelm authored Sep 13, 2022
1 parent 5729acc commit 28bd14e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ Generating Passbook keys and configuring them in pretix

You can generate a key and CSR using::

openssl genrsa -out pass-pretix.key 2048
openssl req -new -key pass-pretix.key -out pass-pretix.csr
export CERT_NAME=pass-pretix
openssl genrsa -out $CERT_NAME.key 2048
openssl req -new -key $CERT_NAME.key -out $CERT_NAME.csr

You can then request a certificate using that CSR in your `Apple developer account`_. You can then convert the downloaded certificate like this::

openssl x509 -inform der -in pass-pretix.cer -out pass-pretix.pem
openssl x509 -inform der -in $CERT_NAME.cer -out $CERT_NAME.pem
After generating the .pem file, upload it to pretix as passbook certificate.
Make sure you have uploaded the key generated before (pass-pretix.key) and added the passbook CA of apple.
Expand Down

0 comments on commit 28bd14e

Please sign in to comment.