SSL error on install of PEM during Posgres install

Started by mark bradleyabout 2 years ago3 messagesgeneral
Jump to latest
#1mark bradley
markbradyju@outlook.com

I am getting the following error message during install of PEM while installing Posgres.

[cid:da2b6d5e-c3b0-430a-98e0-dac72d0aba23]

How can I fix this?

Attachments:

image.pngimage/png; name=image.pngDownload
#2Erik Wienhold
ewie@ewie.name
In reply to: mark bradley (#1)
Re: SSL error on install of PEM during Posgres install

Hi Mark,

On 2024-03-20 14:26 +0100, mark bradley wrote:

I am getting the following error message during install of PEM while
installing Posgres.

[cid:da2b6d5e-c3b0-430a-98e0-dac72d0aba23]

Please include error messages as plain text. For reference, screenshot
says: "psql: error: connection to server at "localhost" (::1), port 5433
failed not support SSL, but SSL was required".

How can I fix this?

Connect with sslmode=prefer :

https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS

--
Erik

#3Adrian Klaver
adrian.klaver@aklaver.com
In reply to: mark bradley (#1)
Re: SSL error on install of PEM during Posgres install

On 3/20/24 06:26, mark bradley wrote:

I am getting the following error message during install of PEM while
installing Posgres.

How can I fix this?

What is your connection string?

In postgresql.conf what is ssl set to per below?

https://www.postgresql.org/docs/current/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SSL

--
Adrian Klaver
adrian.klaver@aklaver.com