diff --git a/src/core/server/http/ssl_config.ts b/src/core/server/http/ssl_config.ts index 59b0747e5b0ba..c32b94cf26def 100644 --- a/src/core/server/http/ssl_config.ts +++ b/src/core/server/http/ssl_config.ts @@ -49,6 +49,7 @@ export const sslSchema = schema.object( schema.oneOf([schema.literal('TLSv1'), schema.literal('TLSv1.1'), schema.literal('TLSv1.2')]), { defaultValue: ['TLSv1.1', 'TLSv1.2'], minSize: 1 } ), + requestCert: schema.maybe(schema.boolean({ defaultValue: false })), }, { validate: ssl => { @@ -85,6 +86,7 @@ export class SslConfig { this.keyPassphrase = config.keyPassphrase; this.cipherSuites = config.cipherSuites; this.supportedProtocols = config.supportedProtocols; + this.requestCert = config.requestCert; } /**