From: Michel Cevzar <michel.cevzar@5element.si>
To: pgsql-odbc@postgresql.org
Subject: odbc psql link ssl cert error
Date: Wed, 30 Dec 2020 14:56:42 +0100
Message-ID: <c8903a3c-3bab-a80f-6ca2-8344d969dc0a@5element.si> (raw)
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 in the 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, should I simply update the driver to the latest version?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: michel.cevzar@5element.si
Subject: Re: odbc psql link ssl cert error
In-Reply-To: <c8903a3c-3bab-a80f-6ca2-8344d969dc0a@5element.si>
References: <c8903a3c-3bab-a80f-6ca2-8344d969dc0a@5element.si>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox