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

Make SSL Requirements Optional #1281

Open
KerickHowlett opened this issue Feb 7, 2024 · 0 comments
Open

Make SSL Requirements Optional #1281

KerickHowlett opened this issue Feb 7, 2024 · 0 comments
Labels
feature request New issue opened using "Feature request" template pg PostgreSQL driver

Comments

@KerickHowlett
Copy link

KerickHowlett commented Feb 7, 2024

Is your feature request related to a problem? Please describe.
My company uses Bastion to SSH into certain AWS RDS (Postgres) instances; however, they don't have SSL certifications set up for these connections (for some reason).

From what I can tell, SQL Tools will not work WITHOUT a SSL certification.

(Although, I was told about this problem secondhand, so I may have this wrong or could be misunderstanding.)

Describe the solution you'd like
A means to toggle (enable/disable) the SSL requirement.

Describe alternatives you've considered
An additional JSON property setting within individual database configurations.

The property will accept the following three string values:

  • "always" (default): It will always choose to go with HTTPS (SSL), and never HTTP (non-SSL)
  • "never": It will always choose to go with HTTP (non-SSL) and never HTTPS (SSL).
  • "automatic": It will use either HTTP or HTTPS, depending what's available, first trying HTTPS before attempting HTTP.

Configuration Example:

{
    "database": "production",
    "driver": "PostgreSQL",
    "group": "ACME",
    "name": "Production",
    "port": 22,
    "previewLimit": 50,
    "server": "localhost",
    "username": "john1234",
    "ssl": "automatic" // <---- HERE
}
@KerickHowlett KerickHowlett added the feature request New issue opened using "Feature request" template label Feb 7, 2024
@gjsjohnmurray gjsjohnmurray added the pg PostgreSQL driver label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New issue opened using "Feature request" template pg PostgreSQL driver
Projects
None yet
Development

No branches or pull requests

2 participants