Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XUGrs-0005Be-Gz for pgsql-odbc@arkaria.postgresql.org; Wed, 17 Sep 2014 15:10:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XUGrs-0007Ap-00 for pgsql-odbc@arkaria.postgresql.org; Wed, 17 Sep 2014 15:10:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XUGrq-00078H-P7 for pgsql-odbc@postgresql.org; Wed, 17 Sep 2014 15:10:02 +0000 Received: from mail-bn1on0671.outbound.protection.outlook.com ([2a01:111:f400:fc10::671] helo=na01-bn1-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XUGrl-0002ct-Oo for pgsql-odbc@postgresql.org; Wed, 17 Sep 2014 15:10:00 +0000 Received: from BL2PR05CA0026.namprd05.prod.outlook.com (10.255.226.26) by BY2PR05MB743.namprd05.prod.outlook.com (10.141.223.143) with Microsoft SMTP Server (TLS) id 15.0.1029.13; Wed, 17 Sep 2014 15:09:51 +0000 Received: from BN1AFFO11FD025.protection.gbl (2a01:111:f400:7c10::170) by BL2PR05CA0026.outlook.office365.com (2a01:111:e400:c04::26) with Microsoft SMTP Server (TLS) id 15.0.1029.13 via Frontend Transport; Wed, 17 Sep 2014 15:09:50 +0000 Received: from mercav05r.na.sas.com (149.173.6.149) by BN1AFFO11FD025.mail.protection.outlook.com (10.58.52.85) with Microsoft SMTP Server (TLS) id 15.0.1019.14 via Frontend Transport; Wed, 17 Sep 2014 15:09:50 +0000 X-TM-IMSS-Message-ID: <75b2d19f0008a700@mercav05r.na.sas.com> Received: from MERCMBX45R.na.SAS.com ([10.16.20.114]) by mercav05r.na.sas.com ([10.16.10.186]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 AES128-SHA (128/128)) id 75b2d19f0008a700 ; Wed, 17 Sep 2014 11:09:50 -0400 Received: from MERCMBX37R.na.SAS.com (10.16.20.49) by MERCMBX45R.na.SAS.com (10.16.20.114) with Microsoft SMTP Server (TLS) id 15.0.775.38; Wed, 17 Sep 2014 11:09:43 -0400 Received: from MERCMBX37R.na.SAS.com ([10.16.20.49]) by MERCMBX37R.na.SAS.com ([10.16.20.49]) with mapi id 15.00.0775.031; Wed, 17 Sep 2014 11:09:25 -0400 From: Keith Handlon To: "pgsql-odbc@postgresql.org" Subject: solaris and openssl Thread-Topic: [ODBC] solaris and openssl Thread-Index: Ac/ShHYw28y3FdTBSESuDj3pJMLg8Q== Date: Wed, 17 Sep 2014 15:09:24 +0000 Message-ID: <9c444f0ad3dd46ff983917f98878fce6@MERCMBX37R.na.SAS.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.225.153] Content-Type: multipart/alternative; boundary="_000_9c444f0ad3dd46ff983917f98878fce6MERCMBX37RnaSAScom_" MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.173.6.149; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(438002)(199003)(189002)(15975445006)(33186001)(30436002)(33646002)(84326002)(512954002)(20776003)(19580395003)(6806004)(90102001)(16236675004)(229853001)(54356999)(87936001)(31966008)(19625215002)(106466001)(15202345003)(95666004)(2351001)(110136001)(71186001)(21056001)(92566001)(64706001)(86362001)(46102003)(81542003)(81342003)(50986999)(107886001)(80022003)(77982003)(44976005)(85306004)(4396001)(2656002)(99396002)(79102003)(19300405004)(85852003)(83322001)(76482002)(108616004)(74662003)(74502003)(83072002)(107046002)(24736002)(72026002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR05MB743; H:mercav05r.na.sas.com; FPR:; MLV:sfv; PTR:mercav05r.na.sas.com; A:1; MX:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0337AFFE9A Received-SPF: Pass (protection.outlook.com: domain of sas.com designates 149.173.6.149 as permitted sender) receiver=protection.outlook.com; client-ip=149.173.6.149; helo=mercav05r.na.sas.com; Authentication-Results: spf=pass (sender IP is 149.173.6.149) smtp.mailfrom=Keith.Handlon@sas.com; X-OriginatorOrg: sas.com X-Pg-Spam-Score: -1.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 --_000_9c444f0ad3dd46ff983917f98878fce6MERCMBX37RnaSAScom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm trying to get the 9.03.0300 odbc driver to work with ssl on solaris. I= get it to build fine. But as soon as I add the sslmode connection option = I'm getting rejected on the client end with the generic error. I don't see= anything in the server logs (log_connections is turned on). could not connect to server: No such file or directory Is the server running on host "" () and accepting TCP/IP connections on port 5432? I know the server is up and running and accepting ssl connections because I= can connect to it from windows and linux both with and without ssl. And t= he connection works fine without the sslmode option from solaris. ldd doesn't report any missing shared objects. Nor does truss, though it a= ppears from the truss log it may be searching the odbcinst for something. = I can't seem to locate any unixodbc or postgresql doc that indicates any ss= l odbcinst settings. Any ideas? --_000_9c444f0ad3dd46ff983917f98878fce6MERCMBX37RnaSAScom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I’m trying to get the 9.03.0300 odbc driver to= work with ssl on solaris.  I get it to build fine.  But as soon = as I add the sslmode connection option I’m getting rejected on the cl= ient end with the generic error.  I don’t see anything in the server logs (log_connections is turned on).

 

could not connect to server:

No such file or directory    &nb= sp;   Is the server running on host "<hostname>"<= o:p>

       (<ip_address= >) and accepting       TCP/IP connections = on port 5432?

 

I know the server is up and running and accepting ss= l connections because I can connect to it from windows and linux both with = and without ssl.  And the connection works fine without the sslmode op= tion from solaris.

 

ldd doesn’t report any missing shared objects.=   Nor does truss, though it appears from the truss log it may be searc= hing the odbcinst for something.  I can’t seem to locate any uni= xodbc or postgresql doc that indicates any ssl odbcinst settings.

 

Any ideas?

--_000_9c444f0ad3dd46ff983917f98878fce6MERCMBX37RnaSAScom_--