Felipe
PPrisma
•Created by Felipe on 5/28/2024 in #help-and-questions
[FIXED] Error when providing certificate
I added the file to the NestJS CLI assets configuration and decided to test the full path in the dist folder (
sslcert=/app/dist/infra/db/prisma/cert/global-bundle.pem
) and it worked.7 replies
PPrisma
•Created by Felipe on 5/28/2024 in #help-and-questions
[FIXED] Error when providing certificate
Hi @jonfanz!
I believe I discovered the issue: NestJs was not including the .pem file in the application build. I added a script to make this copy, but I still haven't been able to make it work.
I tried to use these two ways, but unsuccessful:
sslcert=./cert/global-bundle.pem
sslcert=../cert/global-bundle.pem
Any idea?7 replies
PPrisma
•Created by Felipe on 5/28/2024 in #help-and-questions
[FIXED] Error when providing certificate
@Jon Harrell I use Postgres 15 on AWS RDS.
It works on localhost, with a Docker image, but when I upload it to the AWS development environment, it shows this error:
Error opening a TLS connection: cert file not found
7 replies
PPrisma
•Created by Felipe on 5/28/2024 in #help-and-questions
[FIXED] Error when providing certificate
Note: On localhost it works normally, the problem is when it goes to the pipeline.
7 replies