-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Description
Issue description
Mongo logs warnings about deprecated SSL options
Expected Behavior
No deprecation warnings logged
Actual Behavior
(node:1229) [MONGODB DRIVER] Warning: sslCert is a deprecated option: sslCert is deprecated and will be removed in the next major version. Please use tlsCertificateKeyFile instead.
(node:1229) [MONGODB DRIVER] Warning: sslKey is a deprecated option: sslKey is deprecated and will be removed in the next major version. Please use tlsCertificateKeyFile instead.
(node:1229) [MONGODB DRIVER] Warning: sslPass is a deprecated option: sslPass is deprecated and will be removed in the next major version. Please use tlsCertificateKeyFilePassword instead.
(node:1229) [MONGODB DRIVER] Warning: sslValidate is a deprecated option: sslValidate is deprecated and will be removed in the next major version. Please use tlsAllowInvalidCertificates instead.
Steps to reproduce
Configure MongoDB datasource with SSL options
My Environment
| Dependency | Version |
|---|---|
| Operating System | Amazon Linux 2 |
| Node.js version | 16 |
| Typescript version | 4.9.5 |
| TypeORM version | 0.3.15 |
Additional Context
No response
Relevant Database Driver(s)
- aurora-mysql
- aurora-postgres
- better-sqlite3
- cockroachdb
- cordova
- expo
- mongodb
- mysql
- nativescript
- oracle
- postgres
- react-native
- sap
- spanner
- sqlite
- sqlite-abstract
- sqljs
- sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.