Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kucXr-0004zX-HQ for pgsql-odbc@arkaria.postgresql.org; Wed, 30 Dec 2020 14:33:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kucXp-00021z-Jp for pgsql-odbc@arkaria.postgresql.org; Wed, 30 Dec 2020 14:33:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kubyg-00060R-8r for pgsql-odbc@lists.postgresql.org; Wed, 30 Dec 2020 13:57:26 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kubyc-0005ka-T6 for pgsql-odbc@postgresql.org; Wed, 30 Dec 2020 13:57:25 +0000 Received: by mail-wr1-x42f.google.com with SMTP id i9so17523052wrc.4 for ; Wed, 30 Dec 2020 05:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=5element-si.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=ecG2exuJmH9XrwCOO4sTDpxaMD6KL4qHyrlimnDNufo=; b=PfmEvNPHlm1XFJWxC1EYt7v7lGnlrKV/1nKQLUHlS7tnBvB8qZa5b7AAaMb7u8y30E fssvdxdImbsCRh5qs9bN/NLF3rfkscskmljsnm04AHs6oGnznlhrjmiogjhNoXdRRSwR 96WQ1h2wS4+9/M32+QJM67jN3IdGI4tIvApx11C2OxerMk+mX1BmGJ0Q1HGgKUSqANHc NdtnraNcTvWHzT80k+YG6pckxPj16aoa1DbZxTQMSofHt3up2zprgfYvwOYQSLc5BhFB P11aK/2m2c/QW2g9aGBVfe9AlApNLi6JeuBkawkBhG2Aw6xEP55NSjLAM2XCBQrcNtCN QGjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=ecG2exuJmH9XrwCOO4sTDpxaMD6KL4qHyrlimnDNufo=; b=YFI1GLrMBdZrSWkt7kIicz2VKeXf6b9kBYZ2juq4t9EzU4MBRobpzEnemcxOb20CIg h55IkpU+adNr/heE7Rpbh/g6RZR0LwNXMRnBt4xCu/AAtcEwzWk91gmuquiXn3WmrSSw Hxu19hjGtne+Wcs+j+JU5uM9eV362lwTlmEhCLRLALYr5SLocxBOSF5YV5wVf3mhkJQ+ ZY9ZEXPlkCgOlTnF72dnaqTqSn49uC6Hg0He0UNpfkpBbaSYMIMdW1YR+CDYpACo1+pt 3qc4rf8k5Cx+tyj7Vnahxo5Ckv+TdyOygPChNYZ7VG6+cz/bzQQdaW2WFKB37SUFBwcC OeSw== X-Gm-Message-State: AOAM5307nNJikF7ZsvVezw8+yvqDOAlHbfhvi34fjyha+3ZChiw0t8lv xN6966gEO/8xqGsAZI3JYZo5hy45OlSOzQWyk2s= X-Google-Smtp-Source: ABdhPJyME0tDVLVd8kyWWoYzoaPJotb6VAzXX1BYxJh6CJRUg1U0oBaLsaLd3x9XlpFqXqSx/xqJRg== X-Received: by 2002:a5d:4d86:: with SMTP id b6mr60313123wru.152.1609336641013; Wed, 30 Dec 2020 05:57:21 -0800 (PST) Received: from [192.168.64.108] (188-230-154-223.dynamic.t-2.net. [188.230.154.223]) by smtp.gmail.com with ESMTPSA id e16sm71820887wra.94.2020.12.30.05.57.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Dec 2020 05:57:20 -0800 (PST) To: pgsql-odbc@postgresql.org From: Michel Cevzar Subject: odbc psql link ssl cert error Message-ID: Date: Wed, 30 Dec 2020 14:56:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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?