Re: PostgreSQL SSL communication with SecureTcpClient (Ssl - Mailing list pgsql-general

From Tom Lane
Subject Re: PostgreSQL SSL communication with SecureTcpClient (Ssl
Date
Msg-id 24466.1064848113@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL SSL communication with SecureTcpClient (Ssl  (Kris Jurka <books@ejurka.com>)
List pgsql-general
Kris Jurka <books@ejurka.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

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: downloading latest source from cvs
Next
From: Greg Stark
Date:
Subject: Re: Result set granularity..