darksyndacite
PPrisma
•Created by darksyndacite on 8/14/2024 in #help-and-questions
Serving HTTPS from Prisma Client
I'm currently trying to spin up an AWS EC2 Instance with my Prisma Client Code base. I have it connected to an AWS RDS Instance and was able to connect and migrate to that.
But my EC2 instance for the API has an SSL Cert and I have an A Record and CNAME set up for an HTTPS endpoint, but when I curl against the endpoint I receive:
How do I direct my Prisma client to use my SSL Cert/Key? Is it the same as my Web instancce where I need to pass them as ENV Values on initialization? Or is there code configuration I can do? I haven't been able to see anything about enabling SSL on the Client, just stuff talking about using it on the DB, which I already have handled.
3 replies