Skip to content

Log the expected location for ssl cert #7823

@NAllred91

Description

@NAllred91

Problem

I'm trying to use prisma with Netlify functions, but I've been unable to get prisma to find my database ssl cert, no matter where I put it.

I get the following error, even with the cert file right next to my schema.prisma file.

Error opening a TLS connection: cert file not found (No such file or directory (os error 2))

Suggested solution

I'd suggest this error let you know where its actually looking. I've confirmed the file does exist in my serverless function, but without knowing where exactly prisma is looking I haven't been able to update the path in my database url to point to the right place.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions