pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedODBC 64bit + SSL
4+ messages / 3 participants
[nested] [flat]
* ODBC 64bit + SSL
@ 2012-09-11 11:00 Petr Patera <petr.patera@gmail.com>
2012-09-11 15:43 ` Re: ODBC 64bit + SSL Hiroshi Saito <hiroshi@winpg.jp>
0 siblings, 1 reply; 4+ messages in thread
From: Petr Patera @ 2012-09-11 11:00 UTC (permalink / raw)
To: pgsql-odbc
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: ODBC 64bit + SSL
2012-09-11 11:00 ODBC 64bit + SSL Petr Patera <petr.patera@gmail.com>
@ 2012-09-11 15:43 ` Hiroshi Saito <hiroshi@winpg.jp>
2012-09-12 15:08 ` Re: ODBC 64bit + SSL Hiroshi Saito <hiroshi@winpg.jp>
0 siblings, 1 reply; 4+ messages in thread
From: Hiroshi Saito @ 2012-09-11 15:43 UTC (permalink / raw)
To: Petr Patera <petr.patera@gmail.com>; +Cc: pgsql-odbc@postgresql.org, Hiroshi Inoue <inoue@tpf.co.jp>
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
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: ODBC 64bit + SSL
2012-09-11 11:00 ODBC 64bit + SSL Petr Patera <petr.patera@gmail.com>
2012-09-11 15:43 ` Re: ODBC 64bit + SSL Hiroshi Saito <hiroshi@winpg.jp>
@ 2012-09-12 15:08 ` Hiroshi Saito <hiroshi@winpg.jp>
0 siblings, 0 replies; 4+ messages in thread
From: Hiroshi Saito @ 2012-09-12 15:08 UTC (permalink / raw)
To: Petr Patera PikoSoft <petr.patera@pikosoft.cz>; +Cc: Hiroshi Inoue <inoue@tpf.co.jp>; pgsql-odbc
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
>>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: ODBC 64bit + SSL
@ 2012-11-17 14:17 Tom Evans <thomas.jude.evans@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Evans @ 2012-11-17 14:17 UTC (permalink / raw)
To: pgsql-odbc; +Cc: Petr Patera <petr.patera@gmail.com>; Hiroshi Inoue <inoue@tpf.co.jp>
Hi Hiroshi and Petr (and others monitoring this thread),
I appear have a similar problem to Petr.
Details:
Running Windows 8 64 bit
Trying to connection to remote PostgreSQL database requiring SSL.
Can make a connection using the 32 bit driver.
Using 'ODBC Data Source Administrator (64-bit)'.
'User DSN' tab
Choose 'Add', opening 'Create New Data Source'.
Select 'PostgreSQL ANSI(x64)'.
Then select 'Finish'.
Receive error message 'ODBC Data Source Administrator has stopped working'.
Application then crashes.
I require the 64bit connection, because I am wanting link to other 64bit
applications (R and MS Access).
This Windows 8 64 bit install was an upgrade from Windows 7 64 bit. On
Windows 7 I was able to get the 64 bit ODBC driver working fine.
Please request further debug details etc, if it may help. I will need
detailed instructions on how to produce these.
I would appreciate any suggestions. For example if it is possible to link
to the database with an alternative approach/ application, bypassing this
problem (if this can't be resolved).
Regards,
Tom.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2012-11-17 14:17 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-09-11 11:00 ODBC 64bit + SSL Petr Patera <petr.patera@gmail.com>
2012-09-11 15:43 ` Hiroshi Saito <hiroshi@winpg.jp>
2012-09-12 15:08 ` Hiroshi Saito <hiroshi@winpg.jp>
2012-11-17 14:17 Re: ODBC 64bit + SSL Tom Evans <thomas.jude.evans@gmail.com>
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