mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-03-02 22:57:22 -05:00
Configuring sslmode for postgresql #909
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Tooling
Area: UI
Area: Update API
Priority: High
Priority: Low
Priority: Medium
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
lidarr-pull
radarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Prowlarr#909
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eaglesemanation on GitHub (Aug 7, 2023).
Is there an existing issue for this?
Is your feature request related to a problem? Please describe
I'm trying to configure a connection to Postgres instance which requires TLS for connection. Current setup will try to connect and fail, setting SSLMODE to
requirewould solve this. For now I figured out how to disable TLS requirement, but I would prefer to keep it.Describe the solution you'd like
Add an option / environment variable to specify SSL mode: https://www.npgsql.org/doc/security.html#encryption-ssltls
Describe alternatives you've considered
Add an option to specify a connection string that would be parsed by Npgsql instead of building connection string from parts. To keep backwards compatibility, add it as overwrite to currently existing options.
Anything else?
I don't think that's necessary, but here is a stack trace of prowlarr trying to connect to postgres requiring SSL:
Stack Trace
@mynameisbogdan commented on GitHub (Aug 9, 2023):
I bumped Npgsql to 6.x for now for the new default SSL mode Prefer.