Re: PostgreSQL SSL communication with SecureTcpClient (Ssl

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Angel Todorov <atodorov(at)acm(dot)org>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL SSL communication with SecureTcpClient (Ssl
Date: 2003-09-29 15:08:33
Message-ID: 24466.1064848113@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kris Jurka <books(at)ejurka(dot)com> writes:
> On Mon, 29 Sep 2003, Angel Todorov wrote:
>> : An error occurs while communicating with the remote host. --->
>> Org.Mentalis.Security.Ssl.Shared.SslException: The server hello message
>> uses a protocol that was not recognized.
>>
>> Do you have any idea what can be the reason? Thanks in advance.

> You are aware that the connection does not start as a SSL connection, but
> begins as a normal one and then switches over.

Specifically, you need to eat the initial "S" or "N" response byte from
the server before firing up the SSL startup handshake.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2003-09-29 15:12:52 Re: Result set granularity..
Previous Message Bill Bell 2003-09-29 15:01:13 Re: Hesitate to write this: can't get at postgres.org