Skip to content

feat: add optional SSL/TLS support for PostgreSQL connection#170

Merged
Shivam-nagar23 merged 2 commits into
mainfrom
feat-postgres-ssl
Jul 9, 2026
Merged

feat: add optional SSL/TLS support for PostgreSQL connection#170
Shivam-nagar23 merged 2 commits into
mainfrom
feat-postgres-ssl

Conversation

@Shivam-nagar23

@Shivam-nagar23 Shivam-nagar23 commented Jul 8, 2026

Copy link
Copy Markdown
Member

Shivam-nagar23 and others added 2 commits July 8, 2026 10:02
Support DB_SSL_MODE (disable|require|verify-ca|verify-full) and
DB_SSL_ROOT_CERT for the notifier's TypeORM/pg connection. Defaults to
disable (plaintext) to preserve existing behaviour. Enables connecting
to SSL-enforcing Postgres such as AWS RDS with rds.force_ssl=1.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
TypeORM's ConnectionOptions.ssl is typed boolean | TlsOptions. Return
TlsOptions from buildSslOptions and set checkServerIdentity via a cast
(honoured by tls.connect at runtime but absent from the TlsOptions type),
resolving the TS2322 build failure.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@Shivam-nagar23 Shivam-nagar23 changed the title Add optional SSL/TLS support for PostgreSQL connection feat: add optional SSL/TLS support for PostgreSQL connection Jul 8, 2026
@Shivam-nagar23 Shivam-nagar23 merged commit 9436135 into main Jul 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Support PostgreSQL 18 and ssl

3 participants