Re: PostgreSQL SSL communication with SecureTcpClient (Ssl

From: Kris Jurka <books(at)ejurka(dot)com>
To: Angel Todorov <atodorov(at)acm(dot)org>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL SSL communication with SecureTcpClient (Ssl
Date: 2003-09-29 09:52:51
Message-ID: Pine.LNX.4.33.0309290550580.5292-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 29 Sep 2003, Angel Todorov wrote:

> Hello,
> I am currently adding SSL support to the Npgsql driver (the .NET data
> provider for PostgreSQL). I have tested with the Mentalis Secure Library
> (http://www.mentalis.org/soft/projects/ssocket/) I am creating the
> SecureTcpSocket as an instance that uses Ssl version 3.0. The PostgreSQL
> server is configured as described in
> http://developer.postgresql.org/docs/postgres/ssl-tcp.html . SSL support
> is added in pg_hba.conf, via hostssl
> The exception I get when I run a test application to connect the
> database is something like that:
>
> Unhandled Exception: Npgsql.NpgsqlException: Error in Open() --->
> System.IO.IOException: An I/O exception occurred. --->
> Org.Mentalis.Security.SecurityException
> : 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.

Kris Jurka

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hannu Krosing 2003-09-29 09:57:13 Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Previous Message Christopher Kings-Lynne 2003-09-29 09:21:39 Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)