Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit c9dce73

Browse files
committed
README fix
1 parent 6f3e4b1 commit c9dce73

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Certificate and Private Key should be in PEM format (pKey without password for n
2323

2424
var cert = fs.readFileSync('cert.pem'),
2525
key = fs.readFileSync('key.pem'),
26+
intermediate = fs.readFileSync('intermediate.crt'),
2627
websiteJson = pushLib.websiteJSON(
2728
"My Site", // websiteName
2829
"web.com.mysite.news", // websitePushID
@@ -35,7 +36,8 @@ Certificate and Private Key should be in PEM format (pKey without password for n
3536
websiteJson, // The object from before / your own website.json object
3637
path.join("assets", "safari_assets"), // Folder containing the iconset
3738
cert, // Certificate
38-
key // Private Key
39+
key, // Private Key
40+
intermediate // Intermediate certificate
3941
);
4042

4143
fs.writeFileSync("pushPackage.zip", zipBuffer);
@@ -48,7 +50,7 @@ So I copied [OpenSSL 0.9.8](https://www.openssl.org/source/openssl-0.9.8.tar.gz)
4850
# Changelog
4951

5052
## 0.2.0
51-
- [@dezinezync](https://github.com/dezinezync) Supporting intermediate certificate [#5]
53+
- Supporting intermediate certificate [#5]
5254

5355
## 0.1.0
5456
- [NaN](https://github.com/rvagg/nan) 2 [#4]
@@ -63,6 +65,7 @@ So I copied [OpenSSL 0.9.8](https://www.openssl.org/source/openssl-0.9.8.tar.gz)
6365

6466
# Credits
6567
- [@KenanSulayman](https://github.com/KenanSulayman) for node 0.12 + NaN support (v0.0.2)
68+
- [@dezinezync](https://github.com/dezinezync) for adding support to intermediate certificates (v0.2.0)
6669

6770
# License
6871

0 commit comments

Comments
 (0)