-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support custom SSL certificates in the connection string #568
Comments
@aputinski But i'm able to connect to my Heroku posgres database using the |
@aputinski Can you please share your connection string? Please redact any sensitive information in that and share that with us. @emolr Standalone studio still requires much work right now. Please report any issues that you find here: https://github.com/prisma/studio |
@pantharshit00 |
We don't support I am marking this as a feature request with a change in the title. |
Thanks for the update. Really enjoying |
Related: #525 |
It's not super simple to implement, some concerns:
2-3 days for work, one for testing. |
@aputinski Can you provide some more information re the questions @pimeys posted? Especially |
There are some limitations what we can do if we don't want to statically link to OpenSSL. One way is to download the root cert, client cert and client key from Google, and convert the client cert and key into a pkcs12 database, protected with a password. Doable with openssl command line client or what I heard also with OSX system tools. On Linux it should require the user to do: openssl pkcs12 -export -out client-identity.p12 -inkey client-key.pem -in client-cert.pem Then the connection string could look like this:
This requires product input and writing instructions for all supported platforms. |
The SSL params required in this feature:
|
The corresponding commit in The corresponding commit in This will be now available in the next alpha, or if interested in testing right now, by pulling and compiling the Tested with Google SQL, disabling access without a certificate. |
I read through several issues referencing SSL (#134, #109), and they seem to indicate it was implemented, but even after specifying all the correct ssl related query parameters in my connection string (which I have verified connects using
psql
, I get the error:FATAL: connection requires a valid client certificate
.I'm using
prisma2@2.0.0-preview-11
The text was updated successfully, but these errors were encountered: