pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Keith Handlon <Keith.Handlon@sas.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: solaris and openssl
Date: Wed, 17 Sep 2014 08:18:46 -0700
Message-ID: <5419A656.5070006@aklaver.com> (raw)
In-Reply-To: <9c444f0ad3dd46ff983917f98878fce6@MERCMBX37R.na.SAS.com>
References: <9c444f0ad3dd46ff983917f98878fce6@MERCMBX37R.na.SAS.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 09/17/2014 08:09 AM, Keith Handlon wrote:
> 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 "<hostname>"
>
>         (<ip_address>) and accepting       TCP/IP connections on port 5432?

Is your server running 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 the connection works fine without the sslmode option from solaris.

What is the sslmode you are using?

What are your pg_hba.conf settings that cover the solaris client?

>
> ldd doesn’t report any missing shared objects.  Nor does truss, though
> it appears 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 ssl odbcinst settings.
>
> Any ideas?
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (8+ messages)  latest in thread

Message-ID: <5419A656.5070006@aklaver.com>
Permalink:  ../5419A656.5070006@aklaver.com/
Also on:    postgresql.org/message-id/5419A656.5070006@aklaver.com

 · 

reply

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: adrian.klaver@aklaver.com, Keith.Handlon@sas.com
  Subject: Re: solaris and openssl
  In-Reply-To: <5419A656.5070006@aklaver.com>
  References: <9c444f0ad3dd46ff983917f98878fce6@MERCMBX37R.na.SAS.com> <5419A656.5070006@aklaver.com>

* 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