Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 2E7C6632796 for ; Sun, 1 Mar 2009 09:11:35 -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 26368-06 for ; Sun, 1 Mar 2009 09:11:30 -0400 (AST) X-Greylist: delayed 00:21:53.38636 by SQLgrey-1.7.6 Received: from mail.rp-online.de (mail.rp-online.de [149.221.1.199]) by mail.postgresql.org (Postfix) with ESMTP id 5D8A36324FB for ; Sun, 1 Mar 2009 09:11:30 -0400 (AST) Received: from [10.1.19.116] (vpn17.1.rp-online.de [10.1.19.116]) by mail.rp-online.de (Postfix) with ESMTP id F369F30848; Sun, 1 Mar 2009 13:49:33 +0100 (CET) Message-ID: <49AA845D.7040500@rp-online.de> Date: Sun, 01 Mar 2009 13:49:33 +0100 From: Thomas Pundt Reply-To: thomas.pundt@rp-online.de User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Lukas@fmf.vtu.lt CC: pgsql-admin@postgresql.org Subject: Re: Postgesql and SSL References: <281149.69937.qm@web23604.mail.ird.yahoo.com> <60680.78.59.213.168.1235896646.squirrel@fmf.vgtu.lt> In-Reply-To: <60680.78.59.213.168.1235896646.squirrel@fmf.vgtu.lt> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.10/RELEASE, bases: 01032009 #1678081, status: clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/4 X-Sequence-Number: 31504 Lukas schrieb: > nope, no use of it.. Situation stays the same.. Does any one have more > ideas? [...] >>> I am trying to run PostgreSQL with SSL, so I compiled and >>> linked with >>> options: >>> >>> ./configure --prefix=/DB --with-openssl >>> >>> Configured and installed successfully. >>> In postgresql.conf I have option "ssl = on" >>> When starting Postgres I get error: >>> LOG: SSL is not supported by this build >>> FATAL: invalid value for parameter "ssl": 1 >>> DEBUG: proc_exit(1) >>> DEBUG: shmem_exit(1) >>> DEBUG: exit(1) >>> >>> Where is the problem? Is here versions which does not >>> support SSL, it >>> would be strange.. >>> >>> Versions used: >>> PostgreSQL 8.3.4 >>> OpenSSL 0.9.8j well, probably; in a situation like this I'd first check for any errors from the configure step. Did it by any chance complain about not finding the SSL library? Next thing to check: is the postmaster linked against the SSL library? cd /your/postgres/install/path/bin ldd postgres|grep ssl should output something like libssl.so.0.9.7 => /usr/lib64/libssl.so.0.9.7 (0x0000002a95775000) if not, SSL is likely not compiled in; go back to checking the configure part. If you have positively confirmed, that SSL support is compiled in, you likely simply don't use your newly built postgres. Check paths and start scripts and make sure, it uses your new built binaries. If that's not it, I think you have to provide more information about your platform. Ciao, Thomas