odbc psql link ssl cert error

Поиск
Список
Период
Сортировка
От Michel Cevzar
Тема odbc psql link ssl cert error
Дата
Msg-id c8903a3c-3bab-a80f-6ca2-8344d969dc0a@5element.si
обсуждение исходный текст
Ответы Re: odbc psql link ssl cert error
Список pgsql-odbc
Dear Sir,


I  am having problems with odbc psql link on cent os8 and with postgres-odbc version 10.3(this one was the default one
inthe repository)
 

I have defined my ssl cert files as such

pqopt={sslrootcert=/etc/ssl/certs/db_ssl_cert/client.crt \
sslcert=/etc/ssl/certs/db_ssl_cert/postgresql_client.crt
sslkey=/etc/ssl/certs/db_ssl_cert/postgresql_client.key}


But I keep getting error(when using isql), even though I can connect using psql

[08001][unixODBC]libpq connection parameter error:invalid connection option "{sslrootcert"

I get this error no matter what I put in front of the first "=" sign.


Should the certificates be in ~/.postgresql/ directory?

What is the problem? On my windows machine I input parameters as above and no problems with the driver version 11.0,
shouldI simply update the driver to the latest version?
 




В списке pgsql-odbc по дате отправления:

Предыдущее
От: Першин Юрий Петрович
Дата:
Сообщение: BUG: copyConnAttributes should decode_or_remove_braces for user name too
Следующее
От: Ian Harding
Дата:
Сообщение: ODBC Log from SSIS (Visual Studio 2019)