pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Saito <hiroshi@winpg.jp>
To: Petr Patera PikoSoft <petr.patera@pikosoft.cz>
Cc: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: ODBC 64bit + SSL
Date: Thu, 13 Sep 2012 00:08:22 +0900
Message-ID: <5050A566.5080207@winpg.jp> (raw)
In-Reply-To: <655E68596C9B1746B6A2A8523C5A631E1E865075@ws2008.pikosoft.org>
References: <CAN3sYjq=FUmyP7=yumq6HOmRi2NsGtir_EU0S4eYKTh1_KnJig@mail.gmail.com>
	<504F5C1E.8020705@winpg.jp>
	<655E68596C9B1746B6A2A8523C5A631E1E865075@ws2008.pikosoft.org>

Hi Petr-san.

Thank you for precious information.
 > Anyway I'm happy that it is working now.
I understood that this all came out.:-)

Regards,
Hiroshi Saito

(2012/09/12 6:18), Petr Patera PikoSoft wrote:
> Hi,
> first of all, many thanks for your help.
>
> I already solved this issue.
> It seems that the problem was with server certificate.
> When I use different certificate all is working correctly.
> Very strange is, that in 32 bit version both certificates are working correctly.
> Anyway I'm happy that it is working now.
>
> For your reference I'm sending log files.
>
> In the event viewer / Windows logs / Application I can see following error everytime i try to connect using 64bit ODBC with SSL with not working certificate.
>
> Faulting application name: odbcad32.exe, version: 6.1.7600.16385, time stamp: 0x4a5bd12d
> Faulting module name: CRYPT32.dll, version: 6.1.7601.17827, time stamp: 0x4f963a60
> Exception code: 0xc0000005
> Fault offset: 0x00000000000095ce
> Faulting process id: 0x10b8
> Faulting application start time: 0x01cd905b4a66d024
> Faulting application path: C:\Windows\system32\odbcad32.exe
> Faulting module path: C:\Windows\system32\CRYPT32.dll
> Report Id: 8fa4fb23-fc4e-11e1-a06d-74f06da79938
>
> On the server I can see
> LOG: could not accept SSL connection: Connection reset by peer
>
> Regards
> Petr Patera
>
>
> -----Original Message-----
> From: Hiroshi Saito [mailto:hiroshi@winpg.jp]
> Sent: Tuesday, September 11, 2012 5:43 PM
> To: Petr Patera
> Cc: pgsql-odbc@postgresql.org; Hiroshi Inoue
> Subject: Re: [ODBC] ODBC 64bit + SSL
>
> Hi.
>
> Um, There is no problem in my windows7-64bit environment.
> ==
> C:\home\odbcregress>odbctest64.exe DSN=PostgreSQL35W iODBC Demonstration program This program shows an interactive SQL processor Driver Manager: 03.80.7601.0000
> Driver: 09.01.0200 (PSQLODBC35W.DLL)
>
> SQL>show ssl;
>
> ssl
> ------------------------------
> on
>
>    result set 1 returned 1 rows.
>
> ==
>
> Would you send the connection log to me?
>
> Regards,
> Hiroshi Saito
>
> (2012/09/11 20:00), Petr Patera wrote:
>> Hello,
>>
>> I'm unable to make a connection using 64bit ODBC driver together with SSL.
>>
>> When I turn off SSL it works fine using 64bit version.
>>
>> When I use 32 bit ODBC with SSL it works fine as well.
>>
>> The problem is only when using 64bit version + SSL.
>>
>> Could you, please, be so kind to assist me with this problem.
>>
>> Many thanks in advance for your help.
>>
>> Best regards
>>
>> Petr Patera
>>
>





view thread (4+ messages)  latest in thread

Message-ID: <5050A566.5080207@winpg.jp>
Permalink:  ../5050A566.5080207@winpg.jp/
Also on:    postgresql.org/message-id/5050A566.5080207@winpg.jp

 · 

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: hiroshi@winpg.jp, petr.patera@pikosoft.cz, inoue@tpf.co.jp
  Subject: Re: ODBC 64bit + SSL
  In-Reply-To: <5050A566.5080207@winpg.jp>
  References: <CAN3sYjq=FUmyP7=yumq6HOmRi2NsGtir_EU0S4eYKTh1_KnJig@mail.gmail.com> <504F5C1E.8020705@winpg.jp> <655E68596C9B1746B6A2A8523C5A631E1E865075@ws2008.pikosoft.org> <5050A566.5080207@winpg.jp>

* 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