Closed jqknono closed 6 months ago
Is this changing the default behaviour of the driver, making it less secure?
My understanding of https://nodejs.org/api/tls.html#tlscreateserveroptions-secureconnectionlistener is that we should only pass "rejectUnauthorized": false
if the user explicitly opts for this.
Isn't it sufficient to add "default": true
to the definition of rejectUnauthorized
in connection.schema.json?
Thanks for making the changes. I noticed you have left the property required. Is this necessary?
Is this changing the default behaviour of the driver, making it less secure?
My understanding of https://nodejs.org/api/tls.html#tlscreateserveroptions-secureconnectionlistener is that we should only pass
"rejectUnauthorized": false
if the user explicitly opts for this.Isn't it sufficient to add
"default": true
to the definition ofrejectUnauthorized
in connection.schema.json?
Yes, you're right. I revert the changing of rejectUnauthorized
, it's now default "true".
Tested both Windows/Linux.
Thanks for making the changes. I noticed you have left the property required. Is this necessary?
required
is not necessary, I just removed it.
Fix not able to connect to AWS RDS Postgresql