Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4dF2-0002iH-8T for pgsql-odbc@arkaria.postgresql.org; Thu, 10 Nov 2016 00:29:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c4dF1-0001dX-Rl for pgsql-odbc@arkaria.postgresql.org; Thu, 10 Nov 2016 00:29:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c4dF1-0001dM-Ep for pgsql-odbc@postgresql.org; Thu, 10 Nov 2016 00:29:19 +0000 Received: from mout.gmx.net ([212.227.15.18]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84_2) (envelope-from ) id 1c4dEy-0008GC-Tk for pgsql-odbc@postgresql.org; Thu, 10 Nov 2016 00:29:18 +0000 Received: from [192.168.1.10] ([88.130.37.109]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LpcBS-1cicPx3Ybm-00fRYj; Thu, 10 Nov 2016 01:29:11 +0100 Subject: Re: SSL with Access VBA To: Adrian Klaver , PostgreSQL mailing lists References: From: Andreas Message-ID: <2afd31a8-4b54-fa55-0caa-c30d469b67c5@gmx.net> Date: Thu, 10 Nov 2016 01:29:11 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:/tFPIwfy1d1F9nJCSNJtbwdWRgtCoxt9EW0DfO5lC38h3COzjLy h4rUKDlBSLcQfKSS7BffataJoIlygi3jsQR+29ZZdHGEbUOqrICz1t6CiFGx/FoMW0KK0jI pEN/E0z3eQcGpn64aD1HS2ux/7gtehuztBOj3LrpJXg+c413hhNA+QFqbpDQPSUgmJpsK7H +yJd+G2W/x/oV7sHTUTaA== X-UI-Out-Filterresults: notjunk:1;V01:K0:GpVAPjAYCqg=:lrY2R9eTTsX9HfxP7ywDui MwGo64Tj62JoGwOoEkOskDeeDj7sFlMQPEZUbFmJxlzdkBilzOnrUDEwUXpCB6nLKIVqK58/7 x7qPPo+rNZ6UJnf8HOKb9+n+2tDkL7GxsnilGcMvuPe7KBrMr4np+ycunhtGqay4J3BDNgaHM 85chweLt2B7JOFjaZO8/3+U1Wnw/+nLknHgylrae/DdkbixUE/GarzjZgRCBNujh5/SHeDzr3 uu85C38zoQ4+vDFXK5HEDkP0OP9S56g+UW1jyrwl5+lb+ST7TrXCMjMc+7sZqVUs9R8Ydj5XH iPa9i1TNfACJZ4Ju/smXQH107RAu0zxz3s/9SUzrvQWwB0CXLPH4+B2Yr0ZXpu9bFLs4BqvyF t31fEtBGHv5TKIMtq/4pVN5hSKCWwILLpxvNOWHw7ejmbW2trpPd+bosvyyV+vmdAnpHt6vM4 h4dzV19dY7Pw5ugfwFLLyqyNenViklhJUAFjqng/DVOB8U0asN+9/CfDT8hg+gBldjG0HQi2s NrFPnNF0sScJ3YCrx5dLlJYs1DPZNALdrAxJkFYR1HA6kfoOZnbvJKc9hWt4kbbK1xsgkLcge RRp9DHzIDWh3TbUwCKWQtgVbhFKgiqGrLYm7CaiL4Ic6TVFCwIWIURc7hMB+m5117vRFkgInv 4liYPKDpSpfhIBXh3Gd8IWqFsWW9uctbxBUSZPQFp+s3CMiBdSbt/pbshj3E1aXa8PG0zst/9 p+/xS26K0SVkRTvZ/lgOGUHgumzYDyTa8dAPMoc9RwJ+rxv0sgUP47r3hEID6rImVGEcPM0HT vKXeHzX X-Pg-Spam-Score: -7.9 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Hello Adrian, thanks for pointing me to this "md5" in your other answer. I fear, I found the SSL issue myself. =8-} Would you know how to turn on the SSL-compression for ADODB.Connections? ... and for PHP, too? Is it some option in the connection string? On the other hand, I found warnings that enabling ssl-compression brings the danger of exposing oneself to BEAST and CRIME (whatever that might be). Thanks in advance Andreas Am 09.11.2016 um 21:14 schrieb Adrian Klaver: > On 11/09/2016 10:51 AM, Andreas wrote: >> Hi, >> could someone help me build a connectionstring to use in Access VBA to >> get a SSL Connection or is there an HowTo? >> >> Client is Access 2013 with psqlODBC 9.5.400. >> Server PostgreSQL 9.5 on UBUNTU 16.04.1 with the standard installation. >> postgresql.conf has SSL=ON so I expect it to work? :} >> >> pgAdmin connects just fine with "SSL = required". >> >> This String works with VBA ADODB.Connection without SSL: >> strCon = "DRIVER={PostgreSQL >> UNICODE};DATABASE=db_test;SERVER=192.168.1.1;PORT=5432;UID=me;PWD=x;A1=7.4+;B1=65535;A7=50;B9=0;C6=1;A4=1;C5=1;C4=1;C8=1;B6=1;UniqueIndex=1;B7=1;AB=0x2" >> >> >> >> BTW is this still OK? I used this for years. >> >> When I add ";sslmode=require" connection.open fails with: >> -2147467259 server does not support SSL, but SSL was required >> >> In the parameter-list there is CA as abrevation for sslmode >> There is no further information what values are needed. >> Adding ";CA=1" connects to the server but how would I know if it is >> encrypted? > > What are your settings in pg_hba.conf for connections? > >> >> >> Additional question: How can I activate SSL Compression? >> >> >> Regards >> Andreas >> >> > > -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc