Обсуждение: SSL error on install of PEM during Posgres install

Поиск
Список
Период
Сортировка

SSL error on install of PEM during Posgres install

От
mark bradley
Дата:
I am getting the following error message during install of PEM while installing Posgres.


How can I fix this?
Вложения

Re: SSL error on install of PEM during Posgres install

От
Erik Wienhold
Дата:
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



Re: SSL error on install of PEM during Posgres install

От
Adrian Klaver
Дата:
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