YYYY refers to the present year throughout the article.
Better Bankside are using a digital wallet pass. This needs a certificate provided by apple. The digital wallet pass service is hosted in uluru, in short you need to:
- Create a CSR
- Generate the Certificate through the apple developer portal
- Upload this to Google Cloud Storage
- Test
- Log in at https://developer.apple.com
- If you don't have an account, register one and contact Better Bankside to add you to their organisation.
- Open Certificates, IDs & Profiles.
- Select Identifiers.
- In the drop down to the right open Pass Type IDs.
- Open Buzz Card.
- Click Create Certificate.
- Generate a key (password: buzz) bb_key.pem & Create a CSR (you can use openssl to do this). Copy the subject from the previous certificate (i.e. pass.com.betterbankside.buzzcard) . Check the latest recomendations from apple on the key / csr as these change.
- Upload the CSR and Generate the certificate.
- Store the generated files in in Team Drives > Clients > Better Bankside > YYYY.
- Reformat the certificate as PEM: openssl pkcs12 -in pass.cer -out bb_certificate.pem
- In GCP open the BetterBankside Storage Bucket in yreceipts-dev
- Copy the newly generated bb*pem files into the bucket.
- Go to the backend on yreceipts-prod.
- Select the Better Bankside account (yReceipts Admin should be OK, too).
- Open /consumers/identification/passbook_template?key=ahBzfnlyZWNlaXB0cy1wcm9kchkLEhBQYXNzYm9va1RlbXBsYXRlGIrmsA4M&action=download&email=test%2bYYYY@yreceipts.com
- Import the pass on your iOS device to ensure the new certificate is operational
- As third-party Passbook clients, such as Android ones, don't verify the certificate, this test must be carried out on an iOS device.
- The test is successful if the pass is shown on your iOS Wallet after trying to import it.
- Notify the client of the new certificate's expiry date and advise them that they have to request us to renew it again at least 2 weeks beforehand.