Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVu4Q-0007b4-AO for pgsql-odbc@arkaria.postgresql.org; Fri, 23 Oct 2020 10:13:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kVu4P-0003np-8V for pgsql-odbc@arkaria.postgresql.org; Fri, 23 Oct 2020 10:13:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVu4O-0003ni-Vl for pgsql-odbc@lists.postgresql.org; Fri, 23 Oct 2020 10:13:13 +0000 Received: from lahtoruutu.iki.fi ([2a0b:5c81:1c1::37]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVu4L-0004ZS-Sx for pgsql-odbc@postgresql.org; Fri, 23 Oct 2020 10:13:12 +0000 Received: from [192.168.1.113] (dsl-hkibng22-54faa4-119.dhcp.inet.fi [84.250.164.119]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 76EC91B00258; Fri, 23 Oct 2020 13:13:04 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1603447984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pe4kRv5PhBPLHvYmcTsMSfWj6u1W9Sq+eOFej0NxEJQ=; b=Yd48McxOaHu2CLxv38AWl5kL6/LUhVZDb+XiPPZmetFrmLjhh3AaLT3xcDER5gLEwdaToV ALVGPwXGn9+QLwe+pq3WcLTLfpREKi0zHAzxenq9a+ryFRzmX7PLjZ8qBKcbkddVLbqRUa O/hoeDqaABaSoB88ccjKluaICKT10ljFTl090ZisaHtj+OzvvqvUvYV4gOUCHuW/VmuAHY cAASaDg0rc80RZzsUnUqpTqYIZegh0bIxlHpuu/GJilbleEqEswiW1xJfnRCdPOS9W/DeC A+c+S4dpo1Ao6bFHbhou52xvdLevNZ67EsgRsLf/6BwwpZ3J54Fsy0b2GQm1HQ== Subject: Re: Build ODBC Drivers for Solaris with TLS support To: "Jensen, David E" , "pgsql-odbc@postgresql.org" References: From: Heikki Linnakangas Message-ID: Date: Fri, 23 Oct 2020 13:13:04 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1603447984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pe4kRv5PhBPLHvYmcTsMSfWj6u1W9Sq+eOFej0NxEJQ=; b=WKdTraON+uCbCH80862nQ+HdBUOya/XsuK1RIi9VEzZqmmdnVp/P9VhmRIY0ANbAqT2vIJ oU6uNsyivdSPdVh16UH9LDxKZidzm+AaHLO7mpLYhYuEBpN4Xfpnth2DSlNhifsIXJja/E VJmDh1dvuqKyLrxSdINsG4ZL+nLcKKmz62n99hr84cfHv8/LmuQ+P7MM6B6aOihBlgGnnw 4+e9vNg/J0d940HEa+tFAoM6Iick96zAAMuPxfvQzBzgnrWZffIeiioBX/RS6LsPISuHu8 +ggyeg339T73CrENPF81sNiwUIJquArK2BfW7fKiHGLG0df+00CctjinHbqxXA== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1603447984; a=rsa-sha256; cv=none; b=UahyBKPwC/J4cfkI9Dxnb74/gm58taJv9EZno2a6546KlYhSwxLdbNlybT4xwtm2uKykfe 9r8Fc7VaMRMY8Oy71HRW0PGl9BlfFUsaOlHfxnmoTd02OOOZ4zs45COsgDOZ5hTCpHtZDS xAW070TrTUarh4Lv9pbK1/aG01D2Bo/98qODe6y0NwDIkzLW2ZICcW/OTC6hJcr4CrdhnP hz1j4d23U8zE1GEQFuhx5hl5Q/2FEokgqUPtLy1NLl7OIKjtIQxfWwtuW9Jlm+DMeEIvBo xVuQrOH3y4EchzUqp/T3rP3pxbbeThmLI7feI+WJ6iSVTpjB1T1sHOvSliXm+Q== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 23/10/2020 02:16, Jensen, David E wrote: > Hello, > > I'm supporting a project that is migrating a database from on-prem > Oracle to Azure PostgreSQL. There are DB links from one oracle DB to > the one that is migrating. The on-prem Oracle DB is on Solaris, so > we have built unixODBC, and pulled the source for the ODBC PostgreSQL > drivers and built them too. > > Using isql to try and connect we received an error about setting SSL > options because the Azure system is set to require SSL on the > connections. If I add sslmode = require in the odbc.ini, we get and > error about using ssl options are invalid when SSL support is not > compiled in. I see mention the ODBC driver supports SSL, but cannot > see how to run configure to have it compiled it. > > Is there any direction you can provide on this? It would be much > appreciated. Hi! The psqlODBC driver uses PostgreSQL's libpq library for connecting to the server. It sounds like you're using a version of libpq that's not built with OpenSSL. Are you using a pre-built package for libpq or building it from sources? If you're building libpq from PostgreSQL sources, you need to pass the "configure --with-openssl" flag to PostgreSQL's configure. - Heikki