Certificate identity files are required in both prisma folder and in the folder from which lift is executed
See original GitHub issueMy folder structure is the following:
.
├── prisma
│ ├── migrations
│ │ ├── 20200107210356-init
│ │ └── lift.lock
│ └── schema.prisma
├── server-cert.pem
└── client-identity.p12
my connection string is postgresql://postgres:<REDACTED>@<REDACTED>:5432/postgres?schema=public&sslmode=require&sslcert=server-ca.pem&sslidentity=client-identity.p12&sslpassword=<REDACTED>
Now when I execute prisma2 lift save it ran into the following I/O error:
Which is unexpected as the file is in the directory according to the path.
Now as a temporary workaround you can copy the server-cert.pem
and client-identity.p12
to prisma folder and run all prisma command from that directory or maintain two copies of keys one in root and one in prisma folder.
I will like the cli to resolve paths relative to cwd and not to prisma
folder.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Prisma schema (Reference)
The Prisma schema is the main configuration file when using Prisma. It is typically called schema.prisma and contains your database connection and data ......
Read more >Configure custom certs from a predefined directory
Scenario: Console/Defender starts and finds the predefined custom certificates directory mounted, but not all of the required files exist.
Read more >prisma/prisma 2.0.0-preview023 on GitHub - NewReleases.io
New release prisma/prisma version 2.0.0-preview023 on GitHub. ... Certificate identity files are required in both prisma folder and in the folder from which...
Read more >Archive for What's new in Azure Active Directory?
Identity Protection has added two new detections from Microsoft ... You need to make sure you're running a recent version of Azure AD ......
Read more >Guidelines for concussion/mild traumatic brain injury and ...
+): If symptoms persist for more than 3 months, patients require an ... delayed complications by providing both verbal and written information.
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 Free
Top 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
We need to add this to the docs @nikolasburk
Opened: https://github.com/prisma/prisma2/issues/1663
It works the same way in a
.env
file.