Log the expected location for ssl cert
See original GitHub issueProblem
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.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How To Check SSL Certificates and Stay Secure - Keyfactor
There is an effortless way to check if a site uses SSL certificates. ... account and password details over the internet to log...
Read more >SSL Certificate Location on UNIX/Linux - Server Fault
The CA certificates have their own directory, /etc/pki/CA/certs and /etc/pki/CA/private . For any given distribution, especially on hosted servers, I recommend ...
Read more >A Simple Explanation of SSL Certificate Errors & How to Fix ...
Learn what an SSL certificate error is. Then walk through various steps you can take to fix the error and get your site...
Read more >Troubleshoot SSL certificates | Load Balancing - Google Cloud
Recheck the status. If the status remains PROVISIONING_FAILED , the Google-managed certificate has been created, but the Certificate Authority can't sign it.
Read more >Confirm That Certificates Are Deployed Correctly (Windows)
Learn how to confirm that a Group Policy is being applied as expected and that the certificates are being properly installed on the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I used this little trick in my GitHub Actions to get around finding the right file.
Uploading TLS certificates to netlify is problematic in first place, we really need https://github.com/prisma/prisma/issues/2817 here.
This is reproducible.