pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: GP <pagomen@csd.uoc.gr>
To: pgsql-admin@postgresql.org
Subject: SSL client configuration ...
Date: Thu, 15 Apr 2004 18:34:49 +0300
Message-ID: <407EAB99.2000600@csd.uoc.gr> (raw)

Hi all,

In order to setup a SSL connection to the DataBase I did the following:

- compiled --with-openssl
- ssl=true in postgresql.conf
- hostssl  all  dbuser      212.205.129.107     255.255.255.0  md5 in 
pg_hba.conf
- generated server.crt and server.key as recommended in Administrator's 
Guide

Then when I tried to connect (via jdbc driver) I get the following error 
from the postmaster:
FATAL:  no pg_hba.conf entry for host "::ffff:212.205.129.107", user 
"dbuser", database "template1", SSL off

It seems that the client appliaction tries to connect without SSL ???

PS: Also at start up I have some warnings from postmaster :
LOG:  could not load root certificate file 
"/home/pagomen/PostGress/data/root.crt": No such file or directory
DETAIL:  Will not verify client certificates.
LOG:  could not bind IPv4 socket: Address already in use
..
LOG:  database system is ready

Any ideas ?
George

view thread (4+ messages)  latest in thread

Message-ID: <407EAB99.2000600@csd.uoc.gr>
Permalink:  ../407EAB99.2000600@csd.uoc.gr/
Also on:    postgresql.org/message-id/407EAB99.2000600@csd.uoc.gr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pagomen@csd.uoc.gr
  Subject: Re: SSL client configuration ...
  In-Reply-To: <407EAB99.2000600@csd.uoc.gr>
  References: <407EAB99.2000600@csd.uoc.gr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox