library · inferred from evidence
pg driver
The PostgreSQL driver used by Prisma, mentioned in the context of SSL mode changes.
- Error opening a TLS connection: self-signed certificate in certificate chain (Prisma 7, code P1011)
Append sslmode and sslrootcert to your DATABASE_URL: ?sslmode=verify-full&sslrootcert=./certificates/global-bundle.pem (adjust the path; for RDS the bundle is at https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem, for Aiven d