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

[Question] SSL Connections #135

Open
benjstephenson opened this issue Jul 19, 2024 · 1 comment
Open

[Question] SSL Connections #135

benjstephenson opened this issue Jul 19, 2024 · 1 comment

Comments

@benjstephenson
Copy link

benjstephenson commented Jul 19, 2024

Is it possible to connect to a db that requires ssl connections? I have a mysql db that I currently work with using DBeaver with the "use SSL" option set to true. I can't tell how to set that in the mysql connection URI, or if it's something that isn't currently supported by dbee.

@benjstephenson benjstephenson changed the title [Question] [Question] SSL Connections Jul 19, 2024
@zivkovicn
Copy link

@benjstephenson it is possible, you just need to provide the needed params f.e:

  {
    "id": "uniq_id_here",
    "url": "postgresql://<host>:<port>/<db_name>?user=<db uder>&password=<url encoded password if contains special characters>&sslmode=require&sslcert=<path to the exact file in your file system>&sslkey=<path to the exact file in your file system>",
    "name": "name of the db",
    "type": "postgresql"
  }

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

No branches or pull requests

2 participants