diff --git a/test/integration/client-side-encryption/client_side_encryption.prose.test.js b/test/integration/client-side-encryption/client_side_encryption.prose.test.js index 0dfe958a2c7..b9f450fbb10 100644 --- a/test/integration/client-side-encryption/client_side_encryption.prose.test.js +++ b/test/integration/client-side-encryption/client_side_encryption.prose.test.js @@ -12,6 +12,9 @@ const getKmsProviders = localKey => { if (localKey) { result.local = { key: localKey }; } + result.kmip = { + endpoint: 'localhost:5698' + }; return result; }; diff --git a/test/tools/spec-runner/index.js b/test/tools/spec-runner/index.js index ca330b0762a..72694f9811b 100644 --- a/test/tools/spec-runner/index.js +++ b/test/tools/spec-runner/index.js @@ -75,6 +75,12 @@ function translateClientOptions(options) { kmsProviders.kmip = { endpoint: 'localhost:5698' }; + options.autoEncryption.tlsOptions = { + kmip: { + tlsCAFile: process.env.KMIP_TLS_CA_FILE, + tlsCertificateKeyFile: process.env.KMIP_TLS_CERT_FILE + } + } } options.autoEncryption.kmsProviders = kmsProviders;