We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ffe23 commit f1af78eCopy full SHA for f1af78e
lib/Server.js
@@ -360,7 +360,8 @@ function Server(compiler, options) {
360
cert: options.cert,
361
ca: options.ca,
362
pfx: options.pfx,
363
- passphrase: options.pfxPassphrase
+ passphrase: options.pfxPassphrase,
364
+ requestCert: options.requestCert || false
365
};
366
}
367
lib/optionsSchema.json
@@ -145,6 +145,10 @@
145
"description": "The passphrase to a (SSL) PFX file.",
146
"type": "string"
147
},
148
+ "requestCert": {
149
+ "description": "Enables request for client certificate.",
150
+ "type": "boolean"
151
+ },
152
"inline": {
153
"description": "Enable inline mode to include client scripts in bundle (CLI-only).",
154
"type": "boolean"
test/Validation.test.js
@@ -49,7 +49,7 @@ describe("Validation", function() {
49
message: [
50
" - configuration has an unknown property 'asdf'. These properties are valid:",
51
" object { hot?, hotOnly?, lazy?, bonjour?, host?, allowedHosts?, filename?, publicPath?, port?, socket?, " +
52
- "watchOptions?, headers?, clientLogLevel?, overlay?, key?, cert?, ca?, pfx?, pfxPassphrase?, " +
+ "watchOptions?, headers?, clientLogLevel?, overlay?, key?, cert?, ca?, pfx?, pfxPassphrase?, requestCert?, " +
53
"inline?, disableHostCheck?, public?, https?, contentBase?, watchContentBase?, open?, useLocalIp?, openPage?, features?, " +
54
"compress?, proxy?, historyApiFallback?, staticOptions?, setup?, stats?, reporter?, " +
55
"noInfo?, quiet?, serverSideRender?, index?, log?, warn? }"
0 commit comments