mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
* Add requestCert option to SSL config The proxy plugin needs to require a client certificate, so this option must be surfaced into the public interface for the HttpServer in Kibana * [fix] use mapped variable
This commit is contained in:
parent
c0eba77ba8
commit
3e094c95d5
2 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,7 @@ export function getServerOptions(config: HttpConfig, { configureTLS = true } = {
|
|||
key: readFileSync(ssl.key!),
|
||||
passphrase: ssl.keyPassphrase,
|
||||
secureOptions: ssl.getSecureOptions(),
|
||||
requestCert: ssl.requestCert,
|
||||
};
|
||||
|
||||
options.tls = tlsOptions;
|
||||
|
|
|
@ -68,6 +68,7 @@ export class SslConfig {
|
|||
public certificate: string | undefined;
|
||||
public certificateAuthorities: string[] | undefined;
|
||||
public keyPassphrase: string | undefined;
|
||||
public requestCert: boolean | undefined;
|
||||
|
||||
public cipherSuites: string[];
|
||||
public supportedProtocols: string[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue