Re: PostgreSQL SSL communication with SecureTcpClient (Ssl

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
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 02:02:41
Message-ID: 200309290202.h8T22fE15617@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


What version of PostgreSQL are you using?

---------------------------------------------------------------------------

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.
>
> Regards,
>
> Angel
>
>
>
> Angel T. Todorov
> PGP public key ID: 1024D/
> <http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x35454B4C> 35454B4C
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Angel Todorov 2003-09-29 02:41:54 Re: PostgreSQL SSL communication with SecureTcpClient (Ssl v 3.0)
Previous Message Bruce Momjian 2003-09-29 01:37:40 Re: downloading latest source from cvs