Skip to content

Commit 489e303

Browse files
author
Jesse Langford
committed
updated certs step
1 parent df4837b commit 489e303

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,19 @@ You will need the following:
1616

1717
### Configuration
1818

19-
1. Download or clone this quickstart repository, create a folder `src/certs` and add the following three PassKit credential files:
19+
1. Download or clone this quickstart repository.
20+
21+
2. Create a new folder inside `src` called `certs` and add the following three PassKit credential files into it. Files can be found in the sdk credentials email you receive on signup:
2022

2123
- certificate.pem
2224
- ca-chain.pem
2325
- key.pem
2426

25-
2. Run `npm run decrypt` and provide your account password in the terminal prompt.
27+
3. Run `npm run openssl` and provide your account password in the terminal prompt.
2628

27-
3. If you wish to receive enrolment emails, edit lines 281 and 307 of the QuickStartLoyalty class to provide an address where you can receive mail.
29+
4. If you wish to receive enrolment emails, edit lines 281 and 307 of the QuickStartLoyalty class to provide an address where you can receive mail.
2830

29-
4. Run `npm i`
31+
5. Run `npm i`
3032

3133
### Running the tests
3234

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "ISC",
77
"scripts": {
88
"test": "jest",
9-
"decrypt": "cd src/certs && openssl ec -in key.pem -out key.pem"
9+
"openssl": "cd src/certs && openssl ec -in key.pem -out key.pem"
1010
},
1111
"jest": {
1212
"verbose": true

0 commit comments

Comments
 (0)