SECURITY WARNING
Anonymous
FREEOP

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 ?

image.png

Attachments

Solved$10 Bounty

Pinned Solution

Anonymous
FREEOP

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

When connecting to your database, add a parameter that sets the SSL mode parameter to require.


domehane
FREE

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 :)


Anonymous
FREEOP

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


Anonymous
FREEOP

a month ago

Thanks


Status changed to Solved brody about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...