Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 883FB64FF01 for ; Tue, 30 Dec 2008 16:53:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 87137-03 for ; Tue, 30 Dec 2008 16:53:40 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hartman.uits.indiana.edu (hartman.uits.indiana.edu [129.79.1.194]) by mail.postgresql.org (Postfix) with ESMTP id D23E764FEF1 for ; Tue, 30 Dec 2008 16:53:40 -0400 (AST) Received: from mail-relay.iu.edu (burns.uits.indiana.edu [129.79.1.202]) by hartman.uits.indiana.edu (8.14.2/8.13.8/IU Messaging Team) with ESMTP id mBUKrd51009978 for ; Tue, 30 Dec 2008 15:53:39 -0500 Received: from walter.slis.indiana.edu (walter.slis.indiana.edu [129.79.36.69]) (authenticated bits=0) by mail-relay.iu.edu (8.14.2/8.13.8/IU Messaging Team) with ESMTP id mBUKrcg7017270 for ; Tue, 30 Dec 2008 15:53:38 -0500 Cc: pgsql-admin@postgresql.org Message-Id: <4D15E432-79CD-4D0E-ACDD-BC1ABCC5BAFD@indiana.edu> From: Carol Walter In-Reply-To: <20081230023630.GA19239@cns.vt.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: ssl database connection problems... Date: Tue, 30 Dec 2008 15:53:37 -0500 References: <752F2E74-9F28-4E3D-869C-93357751AFA0@indiana.edu> <20081230023630.GA19239@cns.vt.edu> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.581 tagged_above=0 required=5 tests=MISSING_HEADERS=1.581, RCVD_IN_DNSWL_LOW=-1 X-Spam-Level: X-Archive-Number: 200812/206 X-Sequence-Number: 31039 Thanks to all of you. Many of my problems have been fixed. My "listening_addresses" was not set correctly. After I fixed that problem, I started getting an SSL error. I'm now getting this error as follows: walterc@fac-staff:~$ psql -U walterc -d walterc -h db -p 5433 psql: SSL SYSCALL error: EOF detected I've poked around a lot in my system. OpenSSL is telling me that ssl is not properly configured. I don't know if the error is accurate of it's describing differences between its configuration and Postgres'. Since ssl on my database box has never been used, there's a very good chance it's not configured properly. I've decided the best tact would be to get a new version of OpenSSL. The most current version on the Sun Freeware site, is 0.9.8i. Are there any issues with compatibility that I should know about. I'm running Solaris 10 and version 8.3.4 of postgres. Thanks, Carol On Dec 29, 2008, at 9:36 PM, Ray Stell wrote: > On Mon, Dec 29, 2008 at 04:23:30PM -0500, Carol Walter wrote: >> "with openssl" when I initially configured the server. Are there >> other >> things that need to be done to get openssl started on the database >> server? >> How can I diagnose this problem? >> > > The files server.key, server.crt, root.crt, and root.crl are only > examined > during server start; so you must restart the server for changes in > them > to take effect. > > http://www.postgresql.org/docs/8.3/interactive/ssl-tcp.html > > It's been awhile since I played with this, but there's something > about an > environment var, PGSSLMODE. > > You can use openssl to verify the server/root ca correctness like > this: > > openssl verify -CAfile ./root.crt testcert.pem > > assuming openssl in the mix. > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin