From: Andreas <maps.on@gmx.net>
To: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: SSL with Access VBA
Date: Wed, 9 Nov 2016 19:51:54 +0100
Message-ID: <a3ffab2a-bdee-1cf2-3b09-b294b5cd7b49@gmx.net> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
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
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: maps.on@gmx.net
Subject: Re: SSL with Access VBA
In-Reply-To: <a3ffab2a-bdee-1cf2-3b09-b294b5cd7b49@gmx.net>
References: <a3ffab2a-bdee-1cf2-3b09-b294b5cd7b49@gmx.net>
* 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