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

requiring self-signed cert when rejectCert is set to false #675

Closed
clarkngo opened this issue Aug 2, 2020 · 1 comment
Closed

requiring self-signed cert when rejectCert is set to false #675

clarkngo opened this issue Aug 2, 2020 · 1 comment
Labels

Comments

@clarkngo
Copy link

clarkngo commented Aug 2, 2020

Describe the bug
In local development, Connecting VSCode to PostgreSQL for the first time does not populate the driver settings for self-signed cert. This cause the default of rejectCert set to false not working.

Workaround: After tick requestCert and save connection, then un-tick requestCert and save connection before testing the connection.

Here the user creates his connection profile:
image

Result of JSON
image

After tick requestCert and save connection, then un-tick requestCert and save connection before testing the connection.

image

image

To Reproduce
Steps to reproduce the behavior:

  1. Creating a connection through Connection Assistant of SQLTools Settings (PostgreSQL)
  2. Without adding any options, click Test Connections

Expected behavior

Desktop (please complete the following information):

  • SQLTools Version: 0.22.11

  • VSCode Version: 1.47.3

  • OS: Ubuntu 18.10.1

  • Driver:

    • PostgreSQL
  • Database version: 10.9

@clarkngo clarkngo added the triage label Aug 2, 2020
@mtxr mtxr closed this as completed in 9050e91 Aug 4, 2020
@pbower
Copy link

pbower commented May 10, 2021

This is still an issue in the current version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants