-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Feature]: TLS encrypted database connections #902
Comments
Creating an environment variable to set the postgres URL parameter should allow setting this (and more) without specific support on our part. The details of the connection URL format can be seen here. In TypeORM, the options we're currently using ( |
Although, we might also need a way to provide the CA certificate (see here). |
Based on the link I included above, I believe the URL parser should take paths for the TLS parameters and read those to the appropriate values for us. |
Oh, you're right. I didn't see/know the path was being included in the url, but that would definitely work. |
It should be enough to pass |
This should be enough to allow SSL connections without requiring a CA certificate:
|
Feature detail
The current server code does not allow encrypted database connections to be configured. Managed PostgreSQL databases like Digital Ocean's require TLS encryption to connect.
Platform
Server
The text was updated successfully, but these errors were encountered: