Page 1 of 2

Connecting to Postgres with SSL Mode without certificate

Posted: Mon 13 Jul 2020 03:26
by n3xus
This is the connection string I'm using to connect to Postgres in C#.

Host={host};Database={db};Username={userid};Password={password};SSL Mode=Require;Trust Server Certificate=true

But I couldn't connect to this DB using Data Compare for PostgreSQL.

Is there an option to connect to Postgres using SSL without specifying certificates?

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Mon 13 Jul 2020 15:43
by alexa
We will review this and will answer you as soon as possible.

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Wed 15 Jul 2020 05:21
by n3xus
Thanks @alexa

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Fri 30 Oct 2020 18:45
by Seismic
Is there a fix to support this? I"m using the latest version of dbForge Data Compare for PostgreSQL 3.3.6

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Mon 02 Nov 2020 16:18
by dzhanhira
There will be a fix in one of the next realizes of that product.

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Wed 18 Nov 2020 17:49
by Seismic
Are there any updates on the fix for this issue?

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Thu 19 Nov 2020 12:21
by alexa
Unfortunately, we still don't have an estimated date for this.

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Mon 01 Feb 2021 15:59
by alexa
You can use SSL connection without authentication on both server and client side. If you don't want server to verify the client certificate, you need to configure PostgreSQL server without the root.crt, and if you don't want client to verify the server certificate, don't set the SslOptions.CACert property of the connection.

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Mon 15 Mar 2021 16:26
by Seismic
@alexa - Your suggestion doesn't work for me. In the Security tab for the Database Connection Properties, I have "Use security protocol" checked, but all the other fields empty. When I hit Test Connection, I receive:

"The server hello message uses a protocol that was not"

I'm using version 3.3.6

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Mon 05 Jul 2021 11:32
by sergiosaw
Any news on this topic, we have the same problem. When we tried to connect to a postgresql v 13.0 we have the error: "The server hello message uses a protocol that was not recognized."

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Tue 06 Jul 2021 11:23
by dzhanhira
Could you please provide more information regarding to your case (server settings. etc)?

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Thu 14 Oct 2021 19:40
by AnnaMia
Is anyone attending to this issue?
I'm almost giving up!

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Wed 20 Oct 2021 07:43
by alexa
Could you please provide us the full product name along with its version?

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Tue 26 Apr 2022 15:28
by chadirnje
AnnaMia wrote: Thu 14 Oct 2021 19:40 Is anyone attending to this issue? canlı tv izle
I'm almost giving up!
Please someone help on this issue, I've been looking for a solution everywhere but I couldn't find it.

Re: Connecting to Postgres with SSL Mode without certificate

Posted: Fri 30 Sep 2022 10:08
by dzhanhira
Kindly note that there is a task for deep investigation created.