diff --git a/src/connection_string.ts b/src/connection_string.ts index c7ff1849de..0e9d189e69 100644 --- a/src/connection_string.ts +++ b/src/connection_string.ts @@ -1108,7 +1108,7 @@ export const OPTIONS = { }, sslCRL: { deprecated: - 'sslCRL is deprecated and will be removed in the next major version. Please use tlsCertificateKeyFile instead.', + 'sslCRL is deprecated and will be removed in the next major version and be replaced by tlsCRLFile in that release.', target: 'crl', transform({ values: [value] }) { return fs.readFileSync(String(value), { encoding: 'ascii' }); diff --git a/src/mongo_client.ts b/src/mongo_client.ts index 0422b6a532..f16ec0d405 100644 --- a/src/mongo_client.ts +++ b/src/mongo_client.ts @@ -814,7 +814,7 @@ export interface MongoOptions * | nodejs native option | driver spec compliant option name | legacy option name | driver option type | * |:----------------------|:----------------------------------------------|:-------------------|:-------------------| * | `ca` | `tlsCAFile` | `sslCA` | `string` | - * | `crl` | N/A | `sslCRL` | `string` | + * | `crl` | `tlsCRLFile` (next major version) | `sslCRL` | `string` | * | `cert` | `tlsCertificateFile`, `tlsCertificateKeyFile` | `sslCert` | `string` | * | `key` | `tlsCertificateKeyFile` | `sslKey` | `string` | * | `passphrase` | `tlsCertificateKeyFilePassword` | `sslPass` | `string` |