Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
TypeScript type definition has an error on SSL description :
/** |
* object with ssl parameters or a string containing name of ssl profile
|
*/
|
ssl?: string | (tls.SecureContextOptions & { rejectUnauthorized?: boolean }); |
must be :
/** |
* object with ssl parameters
|
*/
|
ssl?: boolean | (tls.SecureContextOptions & { rejectUnauthorized?: boolean }); |
|
String parameters was for specific profile saved in connector like mysql does with "Amazon RDS" but this create more problem that is helping, so not implemented.
And boolean option is missing : boolean is the basic option to set SSL when server is using well-known root Certificate Authorities, so not having to set anything client side, just enabling SSL.