Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit b768774

Browse files
author
Luca Aquino
committed
changed sslCertChainPath param name
1 parent b1615d9 commit b768774

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Edit the default configuration of the server by adding options to your **laravel
8888
| `protocol` | `http` | either `http` or `https` |
8989
| `sslCertPath` | `''` | The path to your server's ssl certificate |
9090
| `sslKeyPath` | `''` | The path to your server's ssl key |
91-
| `sslChainCertPath` | `''` | The path to your server's ssl chain certificate |
91+
| `sslCertChainPath` | `''` | The path to your server's ssl certificate chain |
9292
| `sslPassphrase` | `''` | The pass phrase to use for the certificate (if applicable) |
9393
| `socketio` | `{}` | Options to pass to the socket.io instance ([available options](https://github.com/socketio/engine.io#methods-1)) |
9494

src/cli/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ export class Cli {
9191
return options.protocol == 'https';
9292
}
9393
}, {
94-
name: 'sslChainCertPath',
95-
message: 'Enter the path to your SSL chain certificate file.',
94+
name: 'sslCertChainPath',
95+
message: 'Enter the path to your SSL certificate chain file.',
9696
when: function(options) {
9797
return options.protocol == 'https';
9898
}

src/echo-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class EchoServer {
3333
socketio: {},
3434
sslCertPath: '',
3535
sslKeyPath: '',
36-
sslChainCertPath: '',
36+
sslCertChainPath: '',
3737
sslPassphrase: ''
3838
};
3939

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class Server {
7373
Object.assign(this.options, {
7474
cert: fs.readFileSync(this.options.sslCertPath),
7575
key: fs.readFileSync(this.options.sslKeyPath),
76-
ca: (this.options.sslChainCertPath) ? fs.readFileSync(this.options.sslChainCertPath) : '',
76+
ca: (this.options.sslCertChainPath) ? fs.readFileSync(this.options.sslCertChainPath) : '',
7777
passphrase: this.options.sslPassphrase,
7878
});
7979

0 commit comments

Comments
 (0)