Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Xyb-00067h-2d for pgsql-odbc@arkaria.postgresql.org; Wed, 09 Nov 2016 18:52:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c4Xya-0001OY-Lh for pgsql-odbc@arkaria.postgresql.org; Wed, 09 Nov 2016 18:52:00 +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 1c4Xya-0001N6-AR for pgsql-odbc@postgresql.org; Wed, 09 Nov 2016 18:52:00 +0000 Received: from mout.gmx.net ([212.227.17.21]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84_2) (envelope-from ) id 1c4XyX-0001xU-Qe for pgsql-odbc@postgresql.org; Wed, 09 Nov 2016 18:51:59 +0000 Received: from [192.168.1.10] ([88.130.37.109]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LeRKD-1ccTEF447R-00qAfJ for ; Wed, 09 Nov 2016 19:51:55 +0100 To: PostgreSQL mailing lists From: Andreas Subject: SSL with Access VBA Message-ID: Date: Wed, 9 Nov 2016 19:51:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:TFA0u0get+F8S66l6C2+ddnAigQRjll0dpFGAC8fEAqNoC2gFgF OHhNgwNSc0NIMsruYdMLT/YAs4R4O7LCUP3y/ys+mccM+YUTrPMKIR5xHS5wtZDiIiV1CiN D2d4lsO2W/UTh+XRft9zX3A/64b4sDiZl5RhA1NYhvr6j/adAcM0I8zgvJzzY9vIFS0lqjm lqmcjZkNXssG6Hvrh0a2g== X-UI-Out-Filterresults: notjunk:1;V01:K0:KgK9nlSFvBc=:mj3ayBTb26Dpi28U/a0Eqj 3e/0u/LUY9E0xyZdv/jAdm+G/kqcnqwNdGw1U5X5NnKrhP3C5IfCjxa4HYL16/fiio1Tb7Q59 3ySJXJI5rgqXQclcOOKE+kQMHPCp7xzYSwuq53G0MTPw/Z3rC8mCGSafDrxcAP8jpA4p9MFul vRUWN9o+DQb37H2fRdFNuKGyAYQvzB2wSgWjFMOFlSFEPDGdwsbNc9Nl9pn5WgHn+zegQ63la VakB/rHAKK+0N3wdAVNBtKp3DhJ448ffuZyz6nIceHzmfpLoI4QaPMWJ5w+GH9noxE8+4h9SJ cntC3cpkOkdHu/YFZKrjSEXSEh7zsDimF6yYCKP7kUid4mEOCNMVzsDpDnoqWIVCfXrG8Ak6E 4cdLyQyaIOu5V9lHbEJ2HA+lQ+Lsc3pjgChjmsDx+6L3mQysQtbu28q+RHqj8+UicSy7ieptD 2woNJg6j9O2wuHzqPWDG2EKKkYfFNR/IO39PsfOsm+I8A8szPrjxSBHTf7naA3LYbkTVWWPjE n35DrCsMFESlR4VGqzHh5erUZfIfI8orxnDbb5JveyIMKPee6cS+vZPIg5+ZfFb9Jd+UEnOj1 IB+6xyJxSWi22LF1AqB4ZndbkUxtwoR3H94Sq6i4hruAxlkyGvkXkuGJC9kU14q0gL6doBHbB D5tqG27Bp4angnz4JkhLi7bbjEaH+7YzdWo6AzOikmtBkfXMDJdnf0ebPk9dXCPWFIsYsFMem Izf2KN4XDSajP6PezKTQwjw+/Sgr9ch+rFIDjRTNkas8T7npfbk10cHW+APNMd03UZCzz9Sqg qfs7LWz X-Pg-Spam-Score: -8.4 (--------) 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 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? 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