a month ago
(node:1) Warning: SECURITY WARNING: The SSL modes 'prefer', 'require', and 'verify-ca' are treated as aliases for 'verify-full'.
anyone know how to fix this warnning ?
Attachments
Pinned Solution
a month ago
yeah i can see that its giving me 2 options but what do you recommend ? i'm not sure
What i did that solved the issue is i changed the variable for the dataset URL from postgresql://neondb_owner:*************@ep-lingering-cake-anylpl4n-pooler.c-6.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require to postgresql://neondb_owner:*************@ep-lingering-cake-anylpl4n-pooler.c-6.us-east-1.aws.neon.tech/neondb?sslmode=verify-full&channel_binding=require
4 Replies
a month ago
When connecting to your database, add a parameter that sets the SSL mode parameter to require.
a month ago
Hello,
pick one of these two options depending on what you want:
if you want to keep the current behavior use sslmode=verify-full in your connection string
if you want libpq compatibility use uselibpqcompat=true&sslmode=require
thats it, the warning is just telling you things are changing in the next major version so you gotta be explicit about which mode you want
Hope this help you :)
a month ago
yeah i can see that its giving me 2 options but what do you recommend ? i'm not sure
What i did that solved the issue is i changed the variable for the dataset URL from postgresql://neondb_owner:*************@ep-lingering-cake-anylpl4n-pooler.c-6.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require to postgresql://neondb_owner:*************@ep-lingering-cake-anylpl4n-pooler.c-6.us-east-1.aws.neon.tech/neondb?sslmode=verify-full&channel_binding=require
a month ago
Thanks
Status changed to Solved brody • about 1 month ago