Skip to content
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

feat: allow self signed certificates with postgres connections #5143

Merged
merged 5 commits into from
Apr 25, 2024

Conversation

Freebios
Copy link
Contributor

If that ok, I would like to allow self signed certificates for SSL connections to a postgres.
As of today, we are using unsecured connection with the bitnami postgresql image, this is not allowed with the upgraded cluster we intend to use.

Otherwise, we could configure our own certificate https://node-postgres.com/features/ssl#self-signed-cert

@Freebios Freebios force-pushed the feat/alow_self_signed_ssl_postgres_connections branch from 0e966ef to 31cb9e1 Compare April 24, 2024 12:55
@@ -33,6 +33,11 @@ export class TypeORMService implements OnModuleInit, OnModuleDestroy {
BillingSubscription,
BillingSubscriptionItem,
],
ssl: environmentService.get('PG_DATABASE_SSL')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Freebios can you also add this env variable to the doc?

Copy link

Warnings
⚠️ Changes were made to the environment variables, but not to the documentation - Please review your changes and check if a change needs to be documented!

Generated by 🚫 dangerJS against 3153757

@Freebios Freebios merged commit 806666d into main Apr 25, 2024
8 checks passed
@Freebios Freebios deleted the feat/alow_self_signed_ssl_postgres_connections branch April 25, 2024 13:29
Freebios added a commit that referenced this pull request Apr 25, 2024
arnavsaxena17 pushed a commit to arnavsaxena17/twenty that referenced this pull request Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants