Fix elasticsearch.ssl.alwaysPresentCertificate default (#52242)

* Fixing the default for elasticsearch.ssl.alwaysPresentCertificate

* Updating snapshot
This commit is contained in:
Brandon Kobel 2019-12-05 09:51:16 -05:00 committed by GitHub
parent 9ee67fb6a1
commit d4f604783f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ test('set correct defaults', () => {
"sniffOnConnectionFault": false,
"sniffOnStart": false,
"ssl": Object {
"alwaysPresentCertificate": true,
"alwaysPresentCertificate": false,
"certificateAuthorities": undefined,
"verificationMode": "full",
},

View file

@ -78,7 +78,7 @@ export const config = {
certificate: schema.maybe(schema.string()),
key: schema.maybe(schema.string()),
keyPassphrase: schema.maybe(schema.string()),
alwaysPresentCertificate: schema.boolean({ defaultValue: true }),
alwaysPresentCertificate: schema.boolean({ defaultValue: false }),
}),
apiVersion: schema.string({ defaultValue: DEFAULT_API_VERSION }),
healthCheck: schema.object({ delay: schema.duration({ defaultValue: 2500 }) }),