Hi there, I’m new here and I’d say I love the platform!
I wanted to implement Neon in a Vapor backend, but I get a connection is insecure (try using sslmode=require)error.
I read that PostgresNIO does not support SNI. I’m here to ask if there is any way to make it work.
I tested using Neon with PostgresNIO, and got it to work. It supports SNI out of the box, so the workarounds mentioned in the docs are not necessary. My code looks like this: