Skip to content

Commit 5ff2b6e

Browse files
committed
Merge pull request #419 from Raynos/patch-1
Pass default certs to SNICallback example
2 parents de0928f + f5e1844 commit 5ff2b6e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,10 @@ var options = {
345345
https: {
346346
SNICallback: function (hostname) {
347347
return certs[hostname];
348-
}
348+
},
349+
cert: myCert,
350+
key: myKey,
351+
ca: [myCa]
349352
},
350353
hostnameOnly: true,
351354
router: {

0 commit comments

Comments
 (0)