Prisma client must use SSL or TLS error
It works if I use pscale connect and open a port on localhost, but it gives me that error when I use the
4 Replies
I fixed this issue by installing OpenSSL on my machine (in my docker image to be precise)
On localhost Prisma does not require ssl, but for accessing your database trough http it does (good design decision!)
Prisma
PostgreSQL database connector (Reference)
This page explains how Prisma can connect to a PostgreSQL database using the PostgreSQL database connector.
As always the primary information source (the official documentation of a tool) should be preferred to a strangers recommendations☝🏼
I am using Vercel though
I figured it out:
You have to use ?sslaccept=strict if you are using prisma!